OK, do you have access to your /tmp directory? If so, close your browser,
then open it and request your index page. Now sort the files in /tmp by
creation time, to find the newly created session file. Look at its contents,
and see if the 2 variables have values assigned to them in the file. Do this
before you click submit on index.

BTW, I don't think $PHPSESSID is ever defined on the first request. Instead,
you can do this to see the new session ID on the first page. That will also
help you find the correct session file to inspect.

echo "session id is " . session_id() . "<br>\n";

Kirk

> -----Original Message-----
> From: Thomas Deliduka [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 11:19 AM
> To: PHP List
> Subject: Re: [PHP] Sessions just don't work on my machine. 
> (Trying this
> ag ain)
> 
> 
> On 9/24/2001 1:18 PM this was written:
> 
> >> OK, now the session ID is getting passed like it should. 
> Now for the two
> >> missing variables. Try moving the two assignment 
> statements ahead of the two
> >> session_register() calls - "assign, then register". I have 
> never seen this
> >> make a difference, but the pros on this list say that is 
> the way it needs to
> >> be done.
> > 
> > Done, I switched the four lines around.
> 
> Same result.
> -- 
> 
> Thomas Deliduka
> IT Manager
>      -------------------------
> New Eve Media
> The Solution To Your Internet Angst
> http://www.neweve.com/
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to