How to access session information during StateServer mode in ASP .Net

D

Dhaval Mehta

Thanks in advance

I want sessions information for the asp .net application (
mainly SessionId). I am using Oracle as back end. I have sessionid
using Session.SessionID in asp .net.
I am gettin session id value in program like
"piaelorpl0xqn0vtjlawi2vq".
I want complete information for this ID like start time, last access
time etc.
I can get all of this information when sessionstate mode is SQLServer
but i dont know how to get when mode is StateServer.
I have set session time out 10 minutes in web.config and sessionstate
mode=stateserver. Now i want find which sessions are live at the time
of Login in my application.
 
A

Alvin Bruney [MVP]

you will need to put custom code in the session start event handler and make
that code stateful. stateserver does not contain that type of information.
it is not a database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top