Re: Session Problem
| From: | Fergus Gibson | Date: | Mon, 19 Feb 2007 02:14:31 +0000 |
| Subject: | Re: Session Problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249062@lists.php.net to get a copy of this message | ||
Brad Bonkoski wrote:
> How do you move from one page to the other? You have to pass the
> session along, I believe..
> Something like:
> $s = SID; // session contant
> page2.php?$s
You only need to pass the session identifier in the query string if you
aren't using cookies. By default, sessions will be handled with
cookies, so they work transparently. I suspect, as others have
suggested, that there is a path/permission problem and the session data
is not getting saved.