如何在不使用cookieless =“true”的情况下限制会话数据共享在web.config中 [英] How to restrict session data sharing without using cookieless="true" in web.config

查看:89
本文介绍了如何在不使用cookieless =“true”的情况下限制会话数据共享在web.config中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在相同的浏览器窗口中限制共享到不同选项卡中的会话数据。

我已经使用了cookieless =true但是将会话ID嵌入到url中。

所以我不想在url上显示会话ID。

是否有任何解决方案在java脚本或任何技术来解决多个选项卡不应该维护相同的会话数据。

I want to restrict session data shared into different tabs with in same browser window.
for that i have used cookieless="true" but that is embbed the session id at url.
so i dont want to show that session id at url.
Is there any solution at java script or any technique to resolve that multiple tabs should not maintain same session data.

推荐答案

不幸的是,没有。



会话与特定浏览器中的所有选项卡共享。但是不同的浏览器可以有不同的会话。
Unfortunately, no.

Sessions are shared with all the tabs in a particular browser. But different browsers can have different sessions.


这篇关于如何在不使用cookieless =“true”的情况下限制会话数据共享在web.config中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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