Re: HTTP Headers change using Authentication Module (Auth.php)
| From: | Justin Patrin | Date: | Tue, 16 Jan 2007 19:48:21 +0000 |
| Subject: | Re: HTTP Headers change using Authentication Module (Auth.php) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45497@lists.php.net to get a copy of this message | ||
On 1/16/07, Milo <search.lists@gmail.com> wrote:
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.I'm not sure why Auth does that. You can always try changing it... You could also try Liveuser. -- Justin Patrin