ASP.NET SessionID类型 [英] ASP.NET SessionID type
问题描述
我想知道是否有人知道ASP.NET SessionID的格式是什么?它不是GUID或base64,它的类型是什么?各个版本的.NET框架也会有所不同吗?
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?
谢谢
推荐答案
已编辑.从我原来的愚蠢答案修改而来.
文档只是说它是由ASP.NET随机分配的. http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.sessionid.aspx
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.
ASP.NET会话标识符是一个随机生成的数字编码成由24个字符组成的字符串,包括从a到z的小写字符和数字从0到5.
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.
这篇关于ASP.NET SessionID类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!