how to check session value(exist for user) in ASPState database using sql server session management

StackOverflow https://stackoverflow.com//questions/9667086

문제

We had implemented web farms with SQL server session management for my asp.net applications. Some time this implementation is not working fine.

I want to know how can i check session value(exist for user) in ASPState database because i was suspected that my session are not going in ASPState database. User is getting problem in 2 out of 10 time.

도움이 되었습니까?

해결책

Look at the ASPStateTempSessions table in your SQL Server Session DB and locate your value by SessionId. To be more precise, SessionId in ASPStateTempSessions table is a varchar concatenation of Asp.Net session id + ApplicationId. You can find out more on this page :

http://msdn.microsoft.com/en-us/library/aa478952.aspx

(Updated with comment from Matthew: ASPStateTempSessions.SessionId = ASP.NET SessionId + ApplicationId)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top