[PHP] session in https

2001-12-04 Thread php geko
I am trying to set some sessions variables in an https (SSL): session_start(); ... $row = $results[0]; session_register(myses); if(session_is_registered(myses)){ $myses=array(id=$row[user_id],username=$row[username],password= $row[password]); $myses=serialize($myses); } the to go to another php

Re: [PHP] session in https

2001-12-04 Thread Jim
Unless you have an unstated purpose for serializing/unserializing, it's not necessary because PHP automatically serializes and unserializes your session variables. Can you see the correct values if you insert the phpinfo() command? If you can that should give you a clue as to how to

Re: [PHP] session in https

2001-12-04 Thread php geko
Hi Jim, I included a phpinfo in my script, where can I see the values of them? (in PHPINFO) Luc Jim [EMAIL PROTECTED] wrote in message news:p05101026b832d339af13@[192.168.1.17]... Unless you have an unstated purpose for serializing/unserializing, it's not necessary because PHP automatically

Re: [PHP] session in https

2001-12-04 Thread Julio Nobrega Trabalhando
$HTTP_SESSION_VARS shows you this. I don't remember precisely if or where it appears on phpinfo();, but you can try this to see all registered session variables: pre ?php print_r($HTTP_SESSION_VARS); ? /pre That's a nice way to see any array, BTW. Including $HTTP_SERVER_VARS, $HTTP_POST_VARS,

Re: [PHP] session in https

2001-12-04 Thread php geko
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