Re: [PHP4BETA] Re: PHP4 Session Management
| From: | J-F Mammet | Date: | Mon, 03 Apr 2000 14:11:08 +0000 |
| Subject: | Re: [PHP4BETA] Re: PHP4 Session Management | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13038@lists.php.net to get a copy of this message | ||
Chris Chabot wrote:
>
> Session management will work perfectly using the disk method as long
> as you configure your hardware (or software based, such as LVS
> (www.linuxvirtualserver.org)) for persistent connections. This way a
> client will always hit the same box in the session, thus enabling
> consitent session management.
> This (persistent connection config) btw is also needed if you ever
> want to do https, or any other server persistent actions.
>
> In my experiance most hardware & software based load balancing tools
> are able to do persistent connections. in LVS it would mean adding '-p
> 1800' to the cluster creation line. (without quotes)
>
Ok I understand this, but I also need the customer to be recongnized
even after one year so I guess persistent connection is not the best way
to do this 8)
I already have my own mysql session storage which works perfectly, but
only problem is the referer check, but I guess it's not a good idea
anyway for a permanent cookie.
Thanks.
J-F Mammet
webmaster@softgallery.fr