Use Session ID as unique

G

Grey

I need to get Session ID to be a unique identifier in ASP.NET. How to get the SessionID. I tried "HttpSessionState", but no member availabe for me to get the ID and what's the data type of it, string or double?? how to change the type If i want to change to string??

Million Thanks
 
C

CW

You can simply get the session id by calling Session.SessionID. Its data type is already string.
I need to get Session ID to be a unique identifier in ASP.NET. How to get the SessionID. I tried "HttpSessionState", but no member availabe for me to get the ID and what's the data type of it, string or double?? how to change the type If i want to change to string??

Million Thanks
 

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

Top