[phplib] login form - problem solved From: mailling <email protected>
Date: 07/28/00

Hi,

I have a index.php page with my own login form with:
  page_open(array('sess' => 'Example_Session')).

In this page, I call another page showoff.php with
page_open(array("sess" => "Example_Session", "auth" => "Example_Auth",
"perm" => "Example_Perm", "user" => "Example_User"));

It was working with phplib7.2b, but not with phplib7.2c, in showoff.php, I
had a new login screen. But when I reloaded the page, everything was fine

I have noticed if I had
   function auth_preauth() {
//Can send a login/password before the login screen appears
//important, otherwise, we have a problem with index.php

   return $this->auth_validatelogin();
   }

in class Example_Auth extends Auth (local.inc), it is working

Steph

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>