re:
!the session doesn't seem to timeout.
!The timeout works fine in inProc session mode.
Session_End doesn't fire in SQL Server session state mode.
Unless you're running a multiple web server scenario ( web farm ),
when you need to keep track of user sessions in several servers,
don't use SQL Server *or* State Server to track session state
unless you're willing/able to take a performance hit.
The cost of serialization/deserialization affects performance.
In the case of State Server, the cost is about a 15% performance degradation.
In the case of SQL Server, the cost is about a 25% performance degradation.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"Moe Sisko" <nullwrote in message news:ua**************@TK2MSFTNGP02.phx.gbl...
Using dotnet 2.0 sp1,
I've got ASP.NET session state working ok in SQLServer mode, but the sessions never seem to expire.
e.g if I add a timeout attribute like so :
<sessionState mode="SQLServer"
sqlConnectionString="Integrated Security=SSPI;data source=localhost" timeout="1" >
the session doesn't seem to timeout. The timeout works fine in inProc session mode.
Any ideas ?
TIA