我可以在global.asax的Session_End事件中设置会话值 [英] Can I set value of session in Session_End event of global.asax
本文介绍了我可以在global.asax的Session_End事件中设置会话值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我死的时候重新开始我的会话。我能做到吗?
I want to regenerate my session when I goes die.Can I do that?
推荐答案
嗨Akilmbelim,
如果你问我,使用会话结束会有点麻烦。
如果你想深入了解目标,你可以使用HttpModule来处理会话结束 [ ^ ]。
* 如果您想说明您的具体需求(不是解决方案),我们可能会提供另一种解决方法。
干杯,
江户
Hi Akilmbelim,
Using the session end for that is a bit of a twist if you ask me.
If you want to go under the hood though to achieve your goal, you can use HttpModule to handle session-end[^].
* If you want to state your specific need (not the solution to it) we might be able to offer another approach to solving it.
Cheers,
Edo
这篇关于我可以在global.asax的Session_End事件中设置会话值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文