' Prepare Web request loHttpWebRequest = System.Net.HttpWebRequest.Create(cLoginUrl) loHttpWebRequest.Method = "POST" loHttpWebRequest.KeepAlive = True loHttpWebRequest.ContentType = "application/x-www-form-urlencoded" loHttpWebRequest.ContentLength = loByte.Length loHttpWebRequest.CookieContainer = loCookieContainerThis sends a post request to a page by code. On the server side, this is recognized as a post:
' If this is a post If oRequest.ServerVariables("REQUEST_METHOD") = "POST" Then lPost = True Else lPost = False End IfThe problem I am facing is to find a way to differenciate between a post from code, such as the above, and a post made by the user on a form from the Web site.