Thread: Need Info
View Single Post
  #2 (permalink)  
Old October 13th, 2005, 05:18 AM
Jeff Mason Jeff Mason is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Hudson, MA, USA.
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

The httpsessionstate class, or the ASP.NET intrinsic Session object, contain an Item property. This Item property is accessed via a string key and contains a variable of type object, so you can store anything you'd like in there, then later retrieve it in a subsequent page request.

Overuse of session variables can result in lousy performance, and restrict your options regarding scalability, though, so be careful.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
Reply With Quote