When using Cookies for session management everything works fine (the
authentication part). But not passing the values of the session variables.
In the example below the existence of '$ident' is verified. But no chance to
get its value: no 'echo' prints out anything! Even isset() denies the
existence of $HTTP_COOKIE_VARS['ident'].
-- example ------------------------------
session_start();
if (!session_is_registered('ident')) {
header ("Location: ../index.php");
}
// trying to retrieve $ident which is obviously known to the session
echo $ident;
echo $HTTP_COOKIE_VARS['ident'];
echo $HTTP_SESSION_VARS['ident'];
-----------------------------------------
Tested on Win2000/IIS5 and Linux 6.1/Apache3.12 with PHP4.04pl1
Any Ideas?
bye Matthias
Matthias Krehl
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]