Alternative to Session Variable

S

sb

As the session variable are not recommended, i search for an alternative to
store my classe that i use and that i store in that session variable.

is that the context that is the alternative?

thanks

Serge
 
L

Lucas Tam

sb said:
As the session variable are not recommended, i search for an
alternative to store my classe that i use and that i store in that
session variable.

is that the context that is the alternative?


ASP.NET's session variables are much improved over classic ASP's session
variables. There's nothing wrong with using session variables.

Other alternatives include:

Cookies, ViewState, Database

However, if the class is large and will be accesed often, I would probably
opt for session variables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top