Re: Custom Session Handlers and User Tracking
| From: | Rob Lacey | Date: | Thu, 01 May 2003 16:43:24 +0000 |
| Subject: | Re: Custom Session Handlers and User Tracking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145981@lists.php.net to get a copy of this message | ||
having attempted to implement this using the code here
http://www.zend.com/codex.php?id=1126&single=1
I am somewhat stumped, I can follow the logic in their code easily. I have
changed the php.ini file to reflect the following
session.save_handler = user
I have also restarted the web server to take notice of these changes. I don't
however, get any session information stored in my db. I have checked sql
permissions, etc and they are all sane. Is there anything else I should be
aware of when trying to use a db for storing php sessions.
Rob
>
> You'll be using this function:
>
>
> http://www.php.net/manual/en/function.session-set-save-handler.php
>
> You should find some examples there. Searching for tutorials on your
> subject with Google should yield some more results.
>
> ---John W. Holmes...
>
> PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> today. http://www.phparch.com/