Don't cram things into $_SESSION. Use this:
session_register('uid');
global $uid;
$uid = $uinfo[0];
With PHP 4.2, you don't have to use session_register. You can do it
exactly like the OP is. I do it all the time. Whether that is a
feature or a bug, I don't know.
It happens to work
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Don't cram things into $_SESSION. Use this:
session_register('uid');
global $uid;
$uid = $uinfo[0];
With PHP 4.2, you don't have to use session_register. You can do it
exactly like the OP is. I do it all the time. Whether that is a
2 matches
Mail list logo