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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 4:48 PM Subject: [PHP] Session variables not working


I'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...

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to