I have a project and I would like to know if it's possible to have two sessions at the same time.
E.g.
I have a user which is a football player (he has a log in) and I want him to log in on a team to know the updates.
I was thinking about something like this:
session_id("player");
session_start();
session_id("team");
session_id("player");
This gives me an error that sais that a session had already been started.
session_id()needs to be called beforesession_start()for that purpose." php.net/manual/en/function.session-id.php