hi
i am working on a site and the functionality requires me to add a community site as well so i add a script in a sub folder to access it . but now when i logged in from the sub directory site i am unable to get any cookies or any session information on the root directory . any idea about this one or any body implement the same scenario.
thanks and regards
jawad
need help with session access on a parent and child site
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: need help with session access on a parent and child site
Take a look at the fourth argument in the setcookie function in the manual.
http://us3.php.net/manual/en/function.setcookie.php
http://us3.php.net/manual/en/function.setcookie.php