Re: session in https
| From: | php geko | Date: | Tue, 04 Dec 2001 20:08:36 +0000 |
| Subject: | Re: session in https | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76586@lists.php.net to get a copy of this message | ||
Only the old session vars show up when I do print_r($HTTP_SESSION_VARS);
In the unsecure http I already registered a session var called $newses. when
I go to the secure part I use the same sessionid -> session_id($sid);
where $sid was part of the url
<a href="https://domain.com/gotosecure.php?sid=$PHPSESID">Go
to secure
part</a>
Once I am in the secure part (Login) I want to register a new sessvar.
session_register("myses");
if(session_is_registered("myses")){
$myses=array("id"=>$row["user_id"],"username"=>$row["username"],"password"=>
$row["password"]);
}
and it is this one that I cant get!