Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Approach to use in regards to POST
Message
De
22/10/2007 17:34:33
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Approach to use in regards to POST
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01262671
Message ID:
01262671
Vues:
62
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
Répondre
Fil
Voir

Click here to load this message in the networking platform