且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

应用托管问题

更新时间:2023-02-26 19:50:41

1.检查web.config,也许该用户无法访问page2.
2.检查page2代码.也许这个用户被其中的代码踢了.
3.无论如何,您在page1中执行的所有操作都不应清除现有的会话信息.即没有任何session.kill函数调用,也不要从代码中重新填充包含用户ID的会话变量.

我希望其中一些会有所帮助.如果没有给我看一些代码,也许我还能考虑更多.
1. check the web.config perhaps the page2 cant be accessed by this user.
2. check the page2 code. perhaps this user is being kicked by the code inside that.
3. All the operations in page1 that you are performing should not in anyway clear the existing session information. i.e. no session.kill sort of function call and do not repopulate the session variable containing the userid from your code.

I hope some of this will help. if not show me some code and perhaps i can think more.