Page 1 of 1

cookie or session lost

Posted: Mon Jul 23, 2007 5:44 am
by cade
I used session or cookie for maintaining user preferences. But when I navigate to other directory, either up one level or go deeper level, I lost the cookie and session. How to avoid this?

Posted: Mon Jul 23, 2007 6:13 am
by feyd
Likely, the cookie parameters are a bit too specific.

session_set_cookie_params() may be of interest.