Date: 01/30/01
- Next message: fabrizio.ermini <email protected>: "[phplib] $db object not working with pg_connect???"
- Previous message: manuel desdin: "[phplib] help with umlauts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
-- 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
matthias.krehl <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: fabrizio.ermini <email protected>: "[phplib] $db object not working with pg_connect???"
- Previous message: manuel desdin: "[phplib] help with umlauts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

