You want it to be / so they are readable by the entire site. From your syptoms a bad path seemed to be the problem, but it looks like it is something else.
> -----Original Message----- > From: Anthony [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 12:37 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Quick Sessions ? > > > Thanks for the response. I think I might just not totaly understand this > switch. This is right out of my php.ini file: > > ; The path for which the cookie is valid. > session.cookie_path = / > > I tried deleting the / and got no change in behavior. It seems to me that > what I need is something like > session.cookie_path = /, ../ > but that doesn't work. Any other ideas? > > - Anthony > > "Jennifer Goodie" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Your cookie path is "" not "/" so your cookie is only readble by the > > directory it was set in. Check your session.cookie_path > > > > http://www.php.net/manual/en/ref.session.php > > > > > -----Original Message----- > > > From: Anthony [mailto:[EMAIL PROTECTED] > > > Sent: Friday, April 04, 2003 12:03 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] Quick Sessions ? > > > > > > > > > I have an issue. For some reason I can't pass session data to > > > pages within > > > different folders. What I have is a page in like > > > mydomain.com/something/somepage.php This page creates session > information > > > and holds it correctly. The app collects user data and then > > > eventualy sends > > > a location header to ../index.html <- in this file there is php that > check > > > to see if the session data is there and..... no longer > there!!! So what > > > gives? Can I not pass session info from pages in folders? I'm > > > not changing > > > the domain, so I shouldn't loose the cookie.... I'm lost.... Please > help > > > me out :) > > > > > > - Anthony > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php