I have a situation that I am not sure how to resolve. I have a page for a login such as
http://www.mysite.com/Login.aspx. So, when the page is first accessed, we are in GET mode. Then, once the POST is made, it is a post and .NET recognizes that as a PostBack. All is good so far.
However, when I use System.NET.HTTPWebRequest to do the same, which includes the proper code to do the POST, I end up in the situation that the server receives a POST but this is not recognized as a PostBack as the page was never loaded at first, such as is the case when the user does it from the browser.
So, this creates a problem for me as everything is based on a PostBack structure and in that particular situation, it is not. Any idea?