Have you started session? And you have to register session variables as well.
Try this:

session_start();
$session_login = $HTTP_POST_VARS['login'];
session_register("session_login");


At the other page, where you want to output the variable, you must also start 
session.

session_start();
echo $session_login;

Regards,
Faisal

On Tuesday 12 March 2002 17:28, you wrote:
> Hi i can't get the session variables working.
>
> When I get something like
> $_SESSION['Login']=$HTTP_POST_VARS['login'];
> on the first page, and i go with a link to an other php page.
> When then try to get $_SESSION['Login'] again it is empty.
>
> How comes?
>
>
> Maarten Weyn

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

Reply via email to