dtbiszu7724 2010-10-12 13:13
浏览 16
已采纳

不同浏览器中的Php会话

If I log in to a website with the same user name and password in different browsers then close one of the windows, will the session still exist?

  • 写回答

4条回答 默认 最新

  • dongyili5843 2010-10-12 14:11
    关注

    I just want to concreticise preceeding answers. The browsers don't have any kind of connections between them - they are standalone applications. If browser starts a seesion, it belongs to it until it is unset e.g. B1 => Sess 1 B2 => Sess 2 And neither of them is accessible somewhere else than it the browser that created it. More information about PHP sessions can be found here http://www.php.net/manual/en/intro.session.php. You can find there "A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL." and that is the answer to your question :-D

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP