View Full Version : Multiple PHP Sessions

11-07-2008, 01:32 PM

So I was thinking and thunking till there was nothing left to thunk and I am left wondering can you have two sessions.


Session 1 :
Carrying a couple of variables throughout the public page navigation.

Session 2:
Carrying the login info.

Um my thought process is to carry 1 variable from the index page and push it through other pages without having a log in session, I know I can use the url and get function, but I want to avoid that if at all possible.

Thought 1 Create the public session, when logged in create the private session and kill the public session and then on log out kill the private session and create public session. Dunno if that would work.


11-07-2008, 06:44 PM
you can have as many session vars as you like