ASPState DB - Good/Bad?

K

K-Dub

Can anyone share any "gotchas" that they may have run into using the
ASPState DB that you can create from the ASP.NET sql script?
 
S

Scott Allen

If you are moving from InProc mode to keeping session state in SQL
Server - one gotcha is that the objects have to be serializable for
SQL session state. The runtime will throw exceptions if the objects
are not serializable.

There is also some performance overhead.
 
K

Keith Patrick

If you do that, make sure you aren't depending on the Session_End event
getting triggered, since it doesn't fire with that kind of session state.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top