Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Forms -- Best Practice ?
Message
 
À
05/11/2003 09:18:19
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00846422
Message ID:
00846438
Vues:
20
>Hi All,
>
>How do I pass parameters between web forms? Is this even allowable in a web app?
>
>We are using way too many session variables. What is a best practice for this?
>

You've got a few options - GET parameters (eg. pass them in the URL), POST parameters (hidden form variables), session variables, or if you've got a large data entry screen, what I tend to do is create a table w/enough rows for all of the data (denormalized, obviously). As the user fills in each field/set of fields, I store this info into the table. One of the fields in the table is some sort of identifier I can use to tie the session to the user ( usually the session ID: Session.SessionID). This makes it really easy to handle a lot of common information between pages.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform