Hi,

Tuesday, October 8, 2002, 12:00:59 PM, you wrote:


TR> After the successful first login you are not saving the $_POST variables
TR> into the $_SESSION equivalents

TR> -- 
TR> regards,
TR> Tom

Ok after looking a little harder I found you were setting it :)

Your prblem is in the lines

if(isset($ssname))
  {
   $_SESSION['ssun'] =$_POST['ssname'];
  }

  should be
if(isset($_POST['ssname']))
  {
   $_SESSION['ssun'] =$_POST['ssname'];
  }

As you have set the &_SESSION vars you only need to do the one test on
the database to check them ... drop the query with the $_POST vars

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to