Re: Pear Auth and Custom Session Handler
| From: | Adam Ashley | Date: | Thu, 07 Dec 2006 23:29:22 +0000 |
| Subject: | Re: Pear Auth and Custom Session Handler | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26016@lists.php.net to get a copy of this message | ||
On Thu, 7 Dec 2006 15:55:40 -0700, Phillip Novess <pnovess@mac.com> wrote:
Has anybody created a custom session handler and got PEAR Auth to keep you logged in? I don't know if its an Auth problem or my custom session handler. It gives me a a new session id with every page load. Thus requiring me to login on every page of my app. Thanks in advance for the help. PhillAuth calls session_regenerate_id() on every page view in an attempt to minimise session hijacking. Perhaps look into your custom session handler's handling of this call. If the data isnt being transfer for one session id to the next that would cause you to login every time. Adam Ashley