会话问题 [英] Session Issue

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

问题描述




我创建了一个html页面,我从中提供了指向另一个网站的链接。新的

网站将在新窗口中打开。当我打开多个窗口时,它们都具有相同的SessionID

。我想知道怎么用不同的

sessionID打开窗户。


谢谢

Hi,

I created a html page from which I give a link to another web site. The new
site is opened in a new window. When I opened multiple windows, they all have
the same SessionID. I want ot know how to open the windows with different
sessionID.

Thanks

推荐答案

Li Pang写道:
Li Pang wrote:


我创建了一个html页面,从中我给出了另一个网站的链接。
新网站在新窗口中打开。当我打开多个窗口时,它们都具有相同的SessionID。我想知道如何用不同的sessionID打开窗口。

谢谢
Hi,

I created a html page from which I give a link to another web site.
The new site is opened in a new window. When I opened multiple
windows, they all have the same SessionID. I want ot know how to open
the windows with different sessionID.

Thanks




在Session中添加Session.Abandon语句页面在新窗口中打开。


Bob Barrows

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我

不经常检查它。如果您必须离线回复,请删除

没有垃圾邮件



Put a Session.Abandon statement in the page opened in the new window.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don''t check it very often. If you must reply off-line, then remove the
"NO SPAM"


感谢鲍勃,


当我在被调用页面中添加Session.Abandon时,它可以正常工作。我应该在Session_OnStart函数中将它添加到Global.asa中吗?


" Bob Barrows [MVP]"写道:
Thanks Bob,

It works when I added Session.Abandon in the called page. Should I add it
into Global.asa in the Session_OnStart function?

"Bob Barrows [MVP]" wrote:
Li Pang写道:
Li Pang wrote:


我创建了一个html页面,我从中提供了另一个网站的链接网站。
新网站在新窗口中打开。当我打开多个窗口时,它们都具有相同的SessionID。我想知道如何用不同的sessionID打开窗口。

谢谢
Hi,

I created a html page from which I give a link to another web site.
The new site is opened in a new window. When I opened multiple
windows, they all have the same SessionID. I want ot know how to open
the windows with different sessionID.

Thanks



在页面中打开一个Session.Abandon语句新窗口。

Bob Barrows
-
Microsoft MVP - ASP / ASP.NET
请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以我不经常检查它。如果您必须离线回复,请删除
NO SPAM



Put a Session.Abandon statement in the page opened in the new window.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don''t check it very often. If you must reply off-line, then remove the
"NO SPAM"



否,这将无效关于你正在处理的情况。

会话已经开始......

李鹏写道:
No, that will have no effect on the situation you are working with. The
session has already started ...
Li Pang wrote:
感谢Bob,

我在被调用的页面中添加了Session.Abandon。我应该在Session_OnStart函数中将它添加到Global.asa中吗?

Bob Barrows [MVP]"写道:
Thanks Bob,

It works when I added Session.Abandon in the called page. Should I
add it into Global.asa in the Session_OnStart function?

"Bob Barrows [MVP]" wrote:
Li Pang写道:
Li Pang wrote:


我创建了一个html页面,我从中提供了另一个网站的链接网站。
新网站在新窗口中打开。当我打开多个窗口时,它们都具有相同的SessionID。我想知道如何用不同的sessionID打开窗口。

谢谢
Hi,

I created a html page from which I give a link to another web site.
The new site is opened in a new window. When I opened multiple
windows, they all have the same SessionID. I want ot know how to
open the windows with different sessionID.

Thanks



把Session.Abandon语句放在打开的页面中新窗口。

Bob Barrows
-
Microsoft MVP - ASP / ASP.NET
请回复新闻组。这个电子邮件帐户是我的垃圾邮件陷阱所以
我不经常检查它。如果您必须离线回复,请删除
NO SPAM



Put a Session.Abandon statement in the page opened in the new window.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don''t check it very often. If you must reply off-line, then remove
the "NO SPAM"




-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。



--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


这篇关于会话问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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