Re: HTTP Headers change using Authentication Module (Auth.php)
| From: | Milo | Date: | Tue, 16 Jan 2007 19:28:39 +0000 |
| Subject: | Re: HTTP Headers change using Authentication Module (Auth.php) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45496@lists.php.net to get a copy of this message | ||
Sorry, I just wasn't looking good.
Auth sets an authchallenge cookie every time the object is initialized
so I was including auth.inc on every page and hence doing $auth = new
Auth("DB", $db_options, "loginFunction"); on every page.
I figure Auth should act differently? Because I use the global $auth
object all over the place. So I need it, but I don't want to set a
cookie on every page request either.
--
Milan