Custom Session state in .NET
In .NET 1.1 session state could be inProc, on a state server or in sql server. What if we want to store the session in Oracle DB or any other storage location? We have to extend the session state functionality. The session state was handled by an httpModule. Unfortunately in 1.1 the session state class was not extendable unless a wrapper was created around it that accessed the methods within the session state class via using reflections. This is a complicated task and can be done. Good news with 2.0 is that there is an interface called SessionStateProviderBase that can be used to create the custom session state.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home