RE: [PHP] Sessions and login

2003-06-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Angelo Zanetti [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 14:09 > session_register('user'); >$_SESSION['user'] = "ebusUser"; Just one other quick point here: if you use the $_SESSION array, you don't need to -- and, in fact, should not -- use session_

RE: [PHP] Sessions and login

2003-06-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Wim Paulussen [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 14:28 > > page 1 : login.php > > input user name -> Post veriable > input password-> post variable > > page 2 : verify.php > session_start() > > // supposing name is entered > if (!$_POST['password

Re: [PHP] Sessions and login

2003-06-11 Thread Mario Oberrauch
... [shortened] > Then I want the session to call authPage (because the pw is correct) together with > the session variable. The way I am doing this (doesnt seem to be working) is to call > authPage with as a header call eg: > header("Location: authPage.php"); > > The problem I think I am havi

RE: [PHP] Sessions and login

2003-06-11 Thread Wim Paulussen
page 1 : login.php input user name -> Post veriable input password-> post variable page 2 : verify.php session_start() // supposing name is entered if (!$_POST['password'] == "") { // verification against database if (successfully authenticated) { $_SESSIO