Re: [PHP] one out of four session variables lost

2003-08-19 Thread CPT John W. Holmes
From: "anders thoresson" <[EMAIL PROTECTED]> > > $_SESSION['uname'] = $_POST['uname']; > > $_SESSION['pwd'] = $_POST['pwd']; > > When the user first logs in I also adds two more session variables within > accesscontrol(): > > $_SESSION['editor'] = mysql_result($result,0,"u_editor"); > $_SESSIO

[PHP] one out of four session variables lost

2003-08-19 Thread anders thoresson
$_SESSION['uname'] = $_POST['uname']; $_SESSION['pwd'] = $_POST['pwd']; When the user first logs in I also adds two more session variables within accesscontrol(): $_SESSION['editor'] = mysql_result($result,0,"u_editor"); $_SESSION['admin'] = mysql_result($result,0,"u_admin"); Both is either an Y