RE: [PHP] Quick Sessions ?
| From: | Jennifer Goodie | Date: | Fri, 04 Apr 2003 20:39:21 +0000 |
| Subject: | RE: [PHP] Quick Sessions ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142431@lists.php.net to get a copy of this message | ||
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:atampone@attechcomputer.com]
> Sent: Friday, April 04, 2003 12:37 PM
> To: php-general@lists.php.net
> 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" <goodie@apollointeractive.com> wrote in message
> news:NEBBIJJIKBGCCCNKMPBCMEJHGOAA.goodie@apollointeractive.com...xª•ºUS†Ô
> fntÅ
> > 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:atampone@attechcomputer.com]
> > > Sent: Friday, April 04, 2003 12:03 PM
> > > To: php-general@lists.php.net
> > > 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
>