I have a form that calls a PHP script which sets a session variable and
redirects to anopther URL as such:

$HTTP_SESSION_VARS['userid'] = "someidnumber";
Header('Location: ' . 'http://www.mydomain.com/welcome.html');

On welcome.html, I have the following code:

<script language="php">
echo 'userid: ' . $HTTP_SESSION_VARS['userid'] . '<br/>';

When I run it in my browser, the value of 'userid' is empty.  Anyone know

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

Reply via email to