ASP.NET SessionID type

ε祈祈猫儿з 提交于 2019-12-07 07:41:31

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/3518489/asp-net-sessionid-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!