using custom database to store session asp.net
A few months ago I asked a question here about accessing a session object using the SessionId in a web service that is being used by an outside application. The suggestion that seemed to work the best was to use SQL Server to store session and query the database by sessionID.
However, because of some restriction of 3rd party products I can only store sessi开发者_StackOverflow中文版on InProc. The only way that I figured out is to create my own database that basically simulates the ASPState database. However, the problem is that I have to figure out how to ensure that my custom state database updates everywhere that the ASPsession database would.
My question is, is there any other way for me to be able to return session data from a web service only using the SessionID?
You can implement your own session state store provider and use that.
精彩评论