如何控制IE7及以上的会话状态共享。 [英] How to Control Session state sharing IE7 and above.

查看:56
本文介绍了如何控制IE7及以上的会话状态共享。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一个数据输入应用程序,其中包含带有保存选项的文本框下拉列表。通过应用程序会话变量用于以对象格式保存数据,并在下载列表的后备文件时进行验证。 />


问题:用户可以输入数据并能够保存。用户可以选择打开已保存的用户详细信息并尝试修改。 User1详细信息在window1中打开,User2详细信息在window2中打开,并尝试同时修改详细信息并选择保存。在保存user2详细信息时,系统正在获取user1详细信息。它清楚地解释了会话数据在两个窗口或选项卡之间共享。



我们希望将用户详细信息存储到特定用户,并保持特定用户独有的会话状态。



感谢解决上述情况的任何解决方案。

We have developed a data entry application which contains text boxes drop down lists with save option.Through out application session variables are used to save the data in a format of object and it validates while post backs of drop down lists.

Problem: Users are able to enter the data and able to save. Users are opt for open the saved user details and trying to modify. User1 details are opened in window1, User2 details are opened in window2 and tried to modify the details simultaneously and opt for saving. while saving the user2 details , the system is taking user1 details. It clearly explains that session data is sharing between two windows or tabs.

We want to store the user details to specific users and maintain the session state unique to specific user.

Appreciate for any solutions to solve the above scenario.

推荐答案

这是浏览器的问题。每个浏览器以不同方式处理新选项卡和窗口。例如,在IE中,您可以打开任务管理器并打开选项卡和窗口,并观察有多少个iexplore.exe实例。无论哪个选项卡由相同的iexplore.exe进程管理都将具有相同的会话。



测试的最佳方法是使用单个选项卡但不同的浏览器,或使用不同的机器。这不是代码问题。
This is an issue of the browser. Each browser treats new tabs and windows differently. For example, in IE you can open Task Manager and open tabs and windows and watch how many instances of iexplore.exe there are. Whatever tabs are managed by the same iexplore.exe process will have the same Session.

The best way to test is to use a single tab but different browsers, or use different machines. It is not a code issue.


这篇关于如何控制IE7及以上的会话状态共享。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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