> -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_
> -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
... [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
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
4 matches
Mail list logo