Session Vars
| From: | Dean Hayes | Date: | Mon, 25 Aug 2003 07:23:12 +0000 |
| Subject: | Session Vars | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21236@lists.php.net to get a copy of this message | ||
Hey,
I have a script that needs to save the session id and username but when i use the following code it will not save anything to the session file, can anyone help out here? The same script use to work when i ran it under Win 98 and Mandrake Linux but since i have installed WinXP it stops working
<?Php
session_start();
session_register('id');
$id = $PHPSESSID;
session_register('user_username');
$user_username = $form_username;
session_register('user_pass');
$user_pass = $form_pass;
?>
Thanks
Dean "The Insane Guy" Hayes
Mystical Web Designs
http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you -->
_________________________________________________________________
ninemsn Extra Storage comes with McAfee Virus Scanning - to keep your Hotmail account and PC safe. Click here http://join.msn.com/