Re: [PHP] Session won't pick up one variable

2009-01-30 Thread Phpster
You can set it where you are attempting to, but you need to have the sesion_start(); at the top of the file Bastien Sent from my iPod On Jan 30, 2009, at 17:20, Terion Miller wrote: Think I'm setting this in the wrong place...someone help ...where do I set the AdminID session if (iss

[PHP] Session won't pick up one variable

2009-01-30 Thread Terion Miller
Think I'm setting this in the wrong place...someone help ...where do I set the AdminID session if (isset($_POST['UserName'])) {$UserName = $_POST['UserName'];} else {$UserName = '';} if (isset($_POST['Password'])) {$Password = $_POST['Password'];} else {$Password = '';} $msg = ''; if (!empty($Us