PDA

View Full Version : Running 2 PHP sessions?



bozley05
December 17th, 2004, 20:07
Is it possible to run two different PHP sessions on the same page/site, because for a shopping cart I am making, when there is an incorrect login it dumps the cart data, even when I remove the session_unset() and session_destory() commands. Therefore I want to run two different sessions, under different names/ID's or something so that they do not interfere with each other.

Possible?


thanks in advance

bozley05
December 18th, 2004, 04:46
Do not worry... I sorted out my problem, just had to move the session_register() down the script. mods delete if you want.