Validation and session variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Having some odd behaviour. 
First , let me mention this is a multi page form using
session variables. (This might be important)

So I am doing a page by page validation, and have
tried putting the code before session_start or after. 
Either way my session variables are getting lost.

Now in order to do my validation on the same page, I
have set form action to nothing action=""
And upon sucess of happy validation added this code:

if ($_SERVER["REQUEST_METHOD"] == "POST") {
 $url = "success.php";
 Header("Location: $url");
}
?>

The page progresses correctly but it seems the
variables are gone.  
Sound like it makes sense ? Any suggestions or ideas.

Thank you,
Stuart

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux