Multiple sessions in one instance using PHP?

master2104

New Member
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 events within the session between users. I have been using a database for this, but would like the data to disappear when the session dies. There are no logins within the system.Is there a way to do this, other than creating a cookie system to replicate functionality?For example, we would have two session cookies:\[code\]name=someRandomUUID\[/code\] and \[code\]session=valueSharedBetweenUsers.\[/code\]I don't want to share the \[code\]name\[/code\] session with multiple users, but the \[code\]session\[/code\] session would be. Thoughts?
 
Back
Top