Re: Session variables not working
| From: | Andrew Wood | Date: | Fri, 14 May 2004 21:00:31 +0000 |
| Subject: | Re: Session variables not working | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186258@lists.php.net to get a copy of this message | ||
Using a cookie which is shown in my browser as PHPSESSID
Yes they're on the same domain but no there's nothing being passed accross the URL. Should there be?
AW
On 14 May 2004, at 21:59, John W. Holmes wrote:
----- Original Message ----- From: "Andrew Wood" <ajwood@iee.org> To: <php-general@lists.php.net> Sent: Friday, May 14, 2004 4:48 PM Subject: [PHP] Session variables not workingI'm trying to set the following two vars on one page then read their values on another like this:[snip]But on page2.php the variables are null. Can anyone help me out with this. I must be doing something really obvious wrong.How are you getting from page 1 to page 2? Is a session cookie being set? Are page 1 and page 2 on the same domain? Do you see a PHPSESSID in the URL? ---John Holmes...