Problems writing session variables
danporcher at earthlink.net
Thu Apr 3 13:14:51 EST 2003
Can anyone tell me why I can't successfully write out session variables.
I'm test in a Windows AMP environment. I doublechecked the session folder in
php.ini and I'm successfully creating and deleting the sessions themselves.
When I look at the variables in the session file after I execute the code
below, all I see is:
$userid = $_POST['userid'];
$passwd = $_POST['passwd'];
//I validate user against DB here, if valid I write out session variables
$_SESSION['ses_user'] = $userid;
$_SESSION['ses_access'] = odbc_result($rsSecurity,'AccessType');
$_SESSION['ses_orgtype'] = odbc_result($rsSecurity,'OrgType');
$_SESSION['ses_orgid'] = odbc_result($rsSecurity,'OrgID');
Watershed Web Design
E-mail: dporcher at watersheddesign.com
"A ship in harbor is safe, but that is not what ships are built for."
More information about the talk