State management in user control across the pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In user control I need to store some data. This data should be available
across many pages where control is used. Currently I am using session to
store it.

Can this be done in a better way by any of the new featrues provided in
whidbey.

Regards,
Praveen
 
You could try using a cookie. Set the cookie to expire when the user closes
their browser it will be a lot like session but will scale to a web farm more
easily.
 
Back
Top