Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 design and good practice question

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-06-23 : 01:37:33
When the user is going through the web site pages, if we need to persist our objects so that we can access them from the different pages (Customer Object, Address Object or Invoice object for ex.) Is it better to store those objects in public variables declared in module files or is it better to put our objects in session variables

dfiala
Posting Yak Master

116 Posts

Posted - 2006-06-23 : 08:02:41
Since you need to restrict the scope to the current user, you want to use session variables.

Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP
Go to Top of Page
   

- Advertisement -