Asp. NET's session
Asp. NET session is the best deal I have ever seen, which is unmatched by other dynamic web technologies. Asp. NET session no longer requires the support of cookies, that is, if the user closes the value of cookie,session can also be saved.
However, we need to make some preparations for the Config.web file, where we find the settings text about the session, such as:
Cookieless= "false"
/>
Change the cookieless= "false" to cookieless= "true", then the session will not be stored in the cookie, but stored in the URL.
In fact, I found that, do not change config.web file, switch off the cookie, do not use the URL can also pass the session value, in this case the session is how to preserve, this is not very clear:)
The session can also be kept alive, that is, when the server restarts, or to ensure that the value of the session is not changed, but this also changes the Config.web file. It is also set by the following statement.
Inproc= "false"
server= "localhost"
Port= "42424"
/>
is not found here the session is not very strong AH:), to change the localhost to the host you want, the session can also be maintained on another host.