Where is the SessionID stored on the client

I have a website in ASP 3.0. This website initiates session authentication on the server and returns the user ID in the session. Multiple clients access to the website seamlessly.

Some of them have lost their session. I think it has to do with the client config with the sessionID token or accompanying that way.

Can some authority tell me where the sessionIDs are stored on the client machine.

Thank.

I read this post and just have to know what the cookie name would look like? Is this the same cookie that we can read / write in code?

I am trying to find a way to identify, store the sessionID on the client machine, and the connected session on the server. Was there a way to do this?

+2


source to share


2 answers


The server allocates the session and stores its ID in a cookie known as a session cookie. ASP Session cookie has the following format: -

ASPSESSIONIDACSSDCCC=APHELKLDMNKNIOJONJACDHFN

      



Please note that the last 8 characters in the cookie name will differ from one instance of your application to the next. Hence, to even detect a cookie, you need to list all the cookies looking for files matching the ASPSESSIONIDxxxxxxxx pattern.

I'm not sure what you could usefully do with this cookie once you've purchased it.

+1


source


The session ID can be stored with a few clicks on the client, but it defines the server configuration which defines the exact way. Cookies will be used if possible. Otherwise, the session ID can be part of the URL or be part of the web page itself as a hidden form variable. Also, a session ID is often generated to time out after a while. If the user does not access the server within, for example. 20 minutes, the session will expire and a new session will be required.



+1


source







All Articles