会话在下拉选定的更改事件时到期 [英] Session expires on drop down selected change event

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

问题描述

嗨朋友们,



我的网站3页有一个奇怪的问题。问题是,在下拉选定的更改事件时,当我们在列表中选择第1或第2项时,用户角色会话将被终止。下拉列表放在一个简单的表中,并且事件中不会写入复杂的逻辑。此外,在下拉选择的更改事件中没有为会话终止编写代码。



对于curosity,我在页面和母版页中添加了PreInit和Init事件找出这里发生的事情。但是,即使在init事件中,由于会话为null,我也无法访问角色会话。这里没有编写任何代码来杀死会话或使其为空。



添加到上面,我还检查了我的Windows日志事件,以检查是否发生了什么事情的背景。我看不到会发生什么事情会导致会话变为NULL。



如果你们中的任何一个遇到过这个问题或者有任何解决方案的话请帮助这个我真的花了很多时间。



提前谢谢。

Hi friends,

I am having a strange problem in 3 pages of my website. The problem is that on drop down selected change event, when we select 1st or 2nd item in the list, the user role session gets terminated. The dropdown list is placed in a simple table and no complex logics are written in the event. Also there is no code written for session termination on the drop down selected change event.

For curosity, I have added PreInit and Init events in page as well as master page to find if there is anything happening here. However, I cannot access the role session even in the init event as the session is null. Here to no code is written to kill session or make it null.

Added to the above, I have also checked my windows log event to check if something is happening in the background. I couldnt see much happening there to which could cause the session to go NULL.

If any one of you have encountered this problem or have any solution then please help as this has really taken much of my time.

Thanks in advance.

推荐答案

这篇关于会话在下拉选定的更改事件时到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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