Session Problems
| From: | Joseph Ross Lee | Date: | Mon, 16 Jun 2003 07:07:46 +0000 |
| Subject: | Session Problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151641@lists.php.net to get a copy of this message | ||
Hello... I'm having a hard time passing values from one php scripts to the other because it doesn't seem to work. Here's part of the script
session_start();
require_once("./functions.php");
$usrname = $_POST['usrname'];
$passwrd= $_POST['passwrd'];
session_register('usrname');
session_register('passwrd');
$_SESSION['usrname']=$usrname;
$_SESSION['passwrd'] = $passwrd;
I don't know what's wrong with it. Maybe I missed something here. Btw, this doesn't happened on Mozilla.
Thanks in advance.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/