ASPState DB - Good/Bad?

  • Thread starter Thread starter K-Dub
  • Start date Start date
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?
 
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.
 
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.
 
Back
Top