php session data inaccessible from lower folder
I am setting a session variable from .../folder/script.php when i try to access it from .../script.php i get nothing
its probabl开发者_Go百科y something stupid but...can anyone explain? and yes i am starting the session. and i am using an overriden session if that helps any ?
You may be setting a cookie with a path.
Try setting the cookie path to /,
精彩评论