common mistake, your session_register() is before you assign the variable, you must
have it after. Ive done this myself. oi.
session_start();
if ( ! session_is_registered(user_key) ) {
$user_key = dummy;
session_register(user_key);
}
I'll include my session file. this will
-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 6:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Custom Session Func?
common mistake, your session_register() is before you assign
the variable, you must have it after. Ive done this myself. oi.
session_start
2 matches
Mail list logo