Page 1 of 1

session problem

Posted: Thu Jul 06, 2006 11:37 pm
by alex3oo2
i have two different sites in two different folders on the same domain that both use the same session variables...

so when i go from one folder to another to go to a different site the session stays...
so my question is how do i keep the session only in one folder

Posted: Thu Jul 06, 2006 11:48 pm
by feyd
call session_set_cookie_params() setting the path argument for your respective folders.