Multiple sessions in one instance using PHP?

后端 未结 4 1565
既然无缘
既然无缘 2021-01-15 09:44

I have a project where I would like to create two session cookies in one browser. The first session would be to uniquely identify a person, the second would be to share even

4条回答
  •  粉色の甜心
    2021-01-15 09:58

    I *think* you can only have one "current" session, but the functionality you are referring to is session_name:

    http://www.php.net/manual/en/function.session-name.php

    The cookie functionality is very simple. I suggest looking into that instead.

提交回复
热议问题