Re: anyone using session_mysql successfully
| From: | Shawn McKenzie | Date: | Wed, 24 Jun 2009 14:19:06 +0000 |
| Subject: | Re: anyone using session_mysql successfully | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294525@lists.php.net to get a copy of this message | ||
Michael A. Peters wrote:
> Randy Paries wrote:
>> Hello,
>> i am trying to get session_mysql
>>
>> http://websupport.sk/~stanojr/projects/session_mysql/
>>
>> It configured, compiled and installed ok (no errors anyways)
>>
>> but i am getting an error
>> session_start() [<a
>> href='function.session-start'>function.session-start</a>]: Cannot find
>> save handler mysql in
>>
>> I was hoping someone in the group was using this and has seen the error
>>
>> Thanks
>> Randy
>>
>
> Not sure about your problem but you shouldn't need to use a compiled
> module to use MySQL (or any other database) for sessions.
>
> There are several tutorials on the web, not of which involve compiling
> squat.
Just use this:
http://us.php.net/manual/en/function.session-set-save-handler.php
And define functions for the different operations.
--
Thanks!
-Shawn
http://www.spidean.com