Re: mysql user session handler
| From: | Tom Worster | Date: | Wed, 09 Sep 2009 01:29:22 +0000 |
| Subject: | Re: mysql user session handler | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297800@lists.php.net to get a copy of this message | ||
thanks, Devendra, that's pretty much the same as my handler. (though i can't
figure Rich Smith's $sess_save_path global. do you know what is for?)
but what i'm really interested in is people's experience in switching over
to and using this kind of handler: pitfalls, gotchas, etc. or is it really
as easy and simple as all these online articles i've read about it claim?
or is that experience so hard won that people aren't keen to share it?
-tom
On 9/8/09 2:23 PM, "Devendra Jadhav" <devendra.in@gmail.com> wrote:
>
> http://www.devshed.com/c/a/PHP/Storing-PHP-Sessions-in-a-Database/
>
>
> On Tue, Sep 8, 2009 at 10:53 PM, Tom Worster <fsb@thefsb.org> wrote:
>
>> questions for those of you with a user session handler using mysql:
>>
>> did you write your own handler, write one based off some other you found
>> (if
>> so, which?), or are you using some available library (if so, which?)?
>>
>> and how do you feel about your implementation? satisfied? or are there
>> improvements you'd like to have?
>>
>> and what serializer do you use?
>>
>> i have my own set of handler functions (less than 70 loc) which seem to
>> work
>> in simple testing. but, while i'd really like to have the sessions in the
>> db
>> for redundancy, i haven't had the courage to deploy it yet. i derived the
>> code from something i found on the web. i trust everything i read on the
>> internet ;-)
>>
>> -tom
>>
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>