Session with PHP 4.1.0 Problem
| From: | ~fanta~ | Date: | Fri, 04 Jan 2002 04:35:34 +0000 |
| Subject: | Session with PHP 4.1.0 Problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11290@lists.php.net to get a copy of this message | ||
I'm starter of written PHP. Thanks for any help!
After login:
session_start();
session_register("usr_id");
session_register("passwd");
header("Location: ./mainframe.php");
mainframe.php is a frameset
link page in the frame, it has a PHPSESSID after the link
(index.php?PHPSESSID=9062af3a5880d735cd2183b929028e82)
but i call the value
session_start();
$HTTP_SESSION_VAR['usr_id']; or
$_SESSION['usr_id'];
No value in these variable.
Thanks for any help!!!
^_^