在无cookie模式中,会话话状态的ID将会自动保存在ASP.NET的查询字符串中

<system.web>

<sessionState mode="InProc" stateConnectionString ="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true" timeout="20"></sessionState>

</system.web>

你可能感兴趣的:(asp.net)