Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET SessionID type

I was wondering if anyone knew what was the format of a ASP.NET SessionID? It's not a GUID or base64, what is its type? Also does it vary from version to version of the .NET framework?

thanks

like image 818
Nickz Avatar asked Dec 29 '22 08:12

Nickz


1 Answers

Edited. Revised from my original dumb answer.

The documentation just says it's randomly asigned by ASP.NET. http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.sessionid.aspx

Another page gives a bit more detail.

The ASP.NET session identifier is a randomly generated number encoded into a 24-character string consisting of lowercase characters from a to z and numbers from 0 to 5.

like image 52
David Avatar answered Jan 15 '23 22:01

David