Re: PHP Sessions
| From: | Simon Rees | Date: | Thu, 14 Apr 2005 10:18:27 +0000 |
| Subject: | Re: PHP Sessions | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39184@lists.php.net to get a copy of this message | ||
On Thursday 14 April 2005 10:23, Ian McGhee wrote:
> I have been looking into PHP sessions and I have noticed you can
> actually use a database for storing the sessions instead of flat files I
> will be using MS SQL for the database can any one give be a clue as to
> how I would go about this or point me in the direction of a good
> tutorial?
Have a look at the user comments on this page of the docs:
http://www.php.net/manual/en/function.session-set-save-handler.php
There are examples for MySQL and Postgres which should give you an idea of
where to start.
cheers Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | tech-lists@zodiac2000.co.uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~