Hi people,

I have a problem with my PHP scripts. I hope someone can help me?
I run PHP 4.0.6, Redhat 7.1

When i tries to set a session and then redirect to the next page, the
sessions is empty? Someone know how to solve this problem?

The script looks like this:

$HTTP_SESSION_VARS["accountsession"] = $session;
$HTTP_SESSION_VARS["accountemail"] = $email;
header("Location: ./main.php");

 //The session and email variabel is from a output from a mysql query!!
And this works fine!

The mainpage tries to get the sessions.


But i just get a "Email:" without any content?

Please help me? Someone know whats wrong?

Best Regards,

Johan Holst Nielsen

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

Reply via email to