... [shortened]

> Then I want the session to call authPage (because the pw is correct) together with 
> the session variable. The way I am doing this (doesnt seem to be working) is to call 
> authPage with as a header call eg: 
> header("Location: authPage.php");
> 
> The problem I think I am having is that the session variable isnt being passed to 
> the authPAge. How else can I call the authPage from verifyPage so that the session 
> variable gets passed. BTW I have register_globals = on;

...

Hi

try one of the following:
- header("Location: authPage.php?". session_name() ."=". session_id());
- enabling "session.use_trans_sid" in php.ini

IMO latter is unpreferable.

, mario



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

Reply via email to