suppose i've the classical login request page. it is a form with just a couple of fields in it. when my user submits his own username and password, these are passed to php page. in the latter, authentication procedure is applied against a db and, if username/password pair is valid, a session is started in order to let my user to do his work and store its session variables.
pretty clean.
my problem is when i try to login with more users at the same time from the same client. of course that has sense only on my machine and in deep testing cycle, but still i'd like it worked.
so i open a new window and i reach the login page again. once i submit another username/password pair i get shot to the same my own private page which the first netscape is already sitting on and not to the page of whom i entered the login of. surely the same first session is used in this second time, even if i requested another authentication.
i don't post any code, since i hope that what i wrote suffices to understand my following question: is it possible to spawn more than a session within the same client and at the same time?
i'd like that under some condition session_start() could start a new session instead of restoring an old one, leaving the old one still full functioning in another window.
these stateless transactions are fooling me. when you have two separated actions you'd like to tight them in the same session. once you have sessions you'd like to slice them. what a mess.
anyone is so kind to enlight me?
thanks al lot 🙂