如何经典ASP会话工作在深 [英] How Classic ASP Session works in deeply

查看:94
本文介绍了如何经典ASP会话工作在深的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道ASP会话使用一些cookie的标识符。但我wan't知道它有多深识别浏览器,是正确的会话的浏览器。

I know that the ASP Session use some cookie identifiers. But I wan't to know how deeply it identify the browser and what browser is in the right session.

在ASP会话继续工作,即使你关闭浏览器的cookies,所以它是如何工作的,以及到底是需要ASP中的变量正确的会话识别浏览器,如远程IP +饼干+什么一些头由浏览器发送到保持鉴定会议,请你澄清了我。

The ASP Sessions keep working even if you disable browser cookies, so how it work's, and what exactly are the variables needed to ASP identify a browser in the right session, like remote IP + Cookie + some header sent by the browser to keep the identification session, please elucidate me.

有些例子是这样一个问题:打开一个新的窗口中创建一个新的会议

Some example is this question: Opening a new window create a new session

在使用Javascript保持它的Cookie(在那里甚至用饼干仍然)浏览器中打开一个新的窗口,但失去了ASP会话引用。

When the browser open a new window using Javascript it keep the cookies but lost the ASP session reference (even with the cookies still in there).

但如果你只是打开一个新窗口(或标签),该会议将保留在那里。

But if you just open a new window (or tab), the session will remain there.

推荐答案

这是一个很好的文章,解释Session对象。

This is a good article explaining the Session object.

http://msdn.microsoft.com/en-us/library/ ms972338.aspx

信息的一些额外来源:

http://classicasp.aspfaq.com/general/how-do-i-manage-a-session-across-multiple-windows.html

http://classicasp.aspfaq.com/general/why-won-t-my-session-variables-stick.html

这篇关于如何经典ASP会话工作在深的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆