关于 ASP.NET的SESSIONID 的疑问
微软的文档里面这么描述ASP.NET session id:
Each active ASP.NET session is identified using a 120-bit string made only of URL-allowed characters. The session ID is generated using the Random Number Generator (RNG) cryptographic provider. The service provider returns a sequence of 15 randomly generated numbers (15 bytes x 8 bit = 120 bits). The array of random numbers is then mapped to valid URL characters and returned as a string.
但我打印某个sessionid是类似如下:3karpg55aueaonvceggi4fvt .
为什么ASP。NET的SESSIONID打印出来会是 24 BYTE的串,跟微软说的 “a 120-bit((15 bytes x 8 bit = 120 bits)) string made only of URL-allowed characters”有出入的呢?
请大家帮忙
------解决方案--------------------保存的时候是 x 8bit的,打印的时候未必就是按 8 bit 来翻译显示的。
------解决方案--------------------passs
------解决方案--------------------学习!
------解决方案--------------------这个没有研究过。。。一同学习下!