I assume that you are trying to determine whether the current request was a result of a link from another page, or of a form submission to the same script. A common technique is to assign a name to the submit button and check whether it was clicked:
Sent by John Sullivan on 08/13/2006 09:32:13 PM:
I have a question regarding the best method for determining if the request to a page is a postback. I use the same page for many purposes. In Foxweb is it best to use the Request.FormCount to determine if the request to the page is a postback or a new request to the page? Or are their better methods?
If you have a method that works for determining if a request is a postback, please post some code. Your help is appreciated.