Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Approach to use in regards to POST
Message
From
22/10/2007 17:34:33
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Approach to use in regards to POST
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01262671
Message ID:
01262671
Views:
61
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform