Richard Buggy <[email protected]> writes:
> On Fri, Dec 18, 2009 at 4:33 PM, Daniel Pittman <[email protected]> wrote:
>> justin randell <[email protected]> writes:
>> > 2009/12/18 Daniel Pittman <[email protected]>:
>> >> justin randell <[email protected]> writes:
>> >>> 2009/12/17 Daniel Pittman <[email protected]>:
>>
>> [...]
>>
>> >> Anyway, I am curious to know if that is still true: if I can't modify
>> >> the PHP code, can I store sessions in a database these days?
>> >
>> > ah, now i see what you mean. yes, its still true, unless you install a
>> > php C extension that defines a session.save_handler for you to write
>> > session info to a database, then you need php code.
>>
>> I guess the last, obvious, question is: has someone written a standard C
>> extension that does that, targeting MySQL or PostgreSQL? Google didn't
>> give me a convincing answer, and I am hoping an expert can. :)
>
> PDO is a standard database access abstraction layer. It provides a uniform
> API for different databases but doesn't deal with syntax differences.
Sorry, I don't quite follow: are you telling me that the PDO abstraction layer
defines a session handler that will allow storing PHP sessions in a database
without changes to PHP source code?
Otherwise, I don't really see the relevance of this to my question.
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html