解决多个选项卡的会话共享的最佳解决方案是什么 [英] What are the best solutions to resolve session sharing to multiple tabs

查看:88
本文介绍了解决多个选项卡的会话共享的最佳解决方案是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.我正在使用会话来维护用户数据。

2.但我想打开标签,它应该保持唯一的会话ID。

3.对于任何编程ode都可用我想为标签实现独特的会话i而不使用cookieless =true。

4.那么请你帮我解决这个问题我需要最好的解决方案。 />
这是我项目中非常迫切的要求。

1.I am using session to maintain user data.
2. But i want to open tabs and it should be maintain unique session id.
3. For that any programming ode is available i want to implement unique session i for tabs without using cookieless="true".
4. So could you please help me on this i need best solutions for that.
it is very urgent requirement in my project.

推荐答案

正如我已经告诉过你的那样,这是不可能的,似乎是一个非常奇怪的要求。



想想一个场景,当你用多个会话打开多个标签时,然后在发布数据时,在更新特定记录时会发生巨大冲突用户。



这是一个非常糟糕的架构。请再想一想,如果您的客户要求这样做,让他/她了解浏览器,HTTP协议和标签如何协同工作。
As I already told you, this is not possible and seems like a very weird requirement.

Think of one scenario, when you open multiple tabs with multiple session, then while you post the data, there will be a huge conflict while updating the records for the particular user.

This is a very bad architecture. Please think again and if your client demands this, let him/her understand how browsers, HTTP protocols and tabs work together.


这篇关于解决多个选项卡的会话共享的最佳解决方案是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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