Session_OnEnd() - 什么会话? [英] Session_OnEnd() - what session?
本文介绍了Session_OnEnd() - 什么会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨;
是否有某种会话ID变量,我可以在
后面的代码中获取,并且可以在Session_OnEnd()中找到知道会话结束了吗?
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
Hi;
Is there some kind of session ID variable that I can get in the code behind
and that is available in Session_OnEnd() to know what session ended?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
推荐答案
搞定了 - 会话对象在这一点似乎仍然很好。
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
" David Thielen"写道:
Got it - the Session object appears to still be good at that point.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"David Thielen" wrote:
嗨;
是否有某种会话ID变量,我可以在后面的代码中获取/>
,在Session_OnEnd()中可以知道会话结束了什么?
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com >
如果我是你,我当然不会指望这种行为。会话结束事件
在会话被拆除后触发。此时依赖会话
可能会在服务器上出现问题。
-
________________________
热烈的问候,
Alvin Bruney [MVP ASP.NET]
[无耻作者插件]
专业版VSTO.NET - Wrox / Wiley
OWC使用.NET的黑皮书
www.lulu.com/owc ,亚马逊
博客: http://www.msmvps.com/ blogs / alvin
----------------------------------- --------------------
" David Thielen" < th ***** @ nospam.nospamwrote in message
新闻:AF ************************* ********* @ microsof t.com ...
i certainly wouldn''t count on that behavior if I were you. Session end event
fires after the session has been torn down. Relying on session at this point
may be problematic across servers.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"David Thielen" <th*****@nospam.nospamwrote in message
news:AF**********************************@microsof t.com...
搞定了 - 会话对象在这一点似乎仍然很好。 />
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
" David Thielen"写道:
Got it - the Session object appears to still be good at that point.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"David Thielen" wrote:
>嗨;
是否有某种会话ID变量,我可以在后面的代码中获得
并且在Session_OnEnd()中可以知道会话结束了什么?
- 谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
好的,在这种情况下如何识别会话?否则我所知道的是一个
会话结束了,但不是哪一个。
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
" Alvin Bruney [MVP]"写道:
Ok, in that case how do I identify the session? Otherwise all I know is a
session ended, but not which one.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"Alvin Bruney [MVP]" wrote:
如果我是你,我当然不会指望这种行为。会话结束事件
在会话被拆除后触发。此时依赖会话
可能会在服务器上出现问题。
-
________________________
热烈的问候,
Alvin Bruney [MVP ASP.NET]
[无耻作者插件]
专业版VSTO.NET - Wrox / Wiley
OWC使用.NET的黑皮书
www.lulu.com/owc ,亚马逊
博客: http://www.msmvps.com/ blogs / alvin
----------------------------------- --------------------
" David Thielen" < th ***** @ nospam.nospamwrote in message
新闻:AF ************************* ********* @ microsof t.com ...
i certainly wouldn''t count on that behavior if I were you. Session end event
fires after the session has been torn down. Relying on session at this point
may be problematic across servers.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"David Thielen" <th*****@nospam.nospamwrote in message
news:AF**********************************@microsof t.com...
搞定了 - 会话对象在这一点似乎仍然很好。 />
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports.com
" David Thielen"写道:
Got it - the Session object appears to still be good at that point.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"David Thielen" wrote:
嗨;
是否有某种会话ID变量,我可以在代码中获取
落后
,在Session_OnEnd()中可以知道会话结束了什么?
-
谢谢 - 戴夫
david_at_windward_dot_net
http://www.windwardreports。 com
这篇关于Session_OnEnd() - 什么会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文