Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Forms -- Best Practice ?
Message
 
To
05/11/2003 09:18:19
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00846422
Message ID:
00846438
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform