Re: [PHP] Keeping sessions
- From: jorge.gonzalez@xxxxxxxxxxx (Jorge González)
- Date: Tue, 19 Jun 2007 15:23:05 +0200
Stut escribió:
Jorge González wrote:Ok :)Ok, you both are right but not what I need because web servers is for shared hosting with PHP then each user choose the way to develop their apps. Then one user maybe store sessions in DB but another one not. This should be on Apache or OS side. It's because I talk about ldirector, LVS and so
I know this is a PHP and not an Apache list but maybe someone is doing this with web hosting...
Not only is this a PHP list, but your problem is a PHP problem. I'm shocked. No, really.
Well the question is I was dealing with an Apache mod_proxy_balanced and plans to use LVS or ldirector for balancing between backend servers. I didn't know about other solutions.
Apache does *not* get involved in sessions. Not at all.
Well, I'll see later, sounds great.
You could put in a custom session handler using a prepended file. See the php.ini configuration option auto_prepend_file. I think there are also extensions available that drop in to replace the session extension - suggest you search the PECL site for those (http://pecl.php.net/). Of course you need to be aware that any PHP script can override both of these options.
yes, that is, and sessions are important. Users's session must be persistent in all cases: web server down, user jumpig between backend web servers, etc
Just to clarify, you're building a shared hosting system that load balances all sites across a cluster of web servers? If not, please explain what it is you're actually trying to do.
-Stut
- Follow-Ups:
- Re: [PHP] Keeping sessions
- From: Stut
- Re: [PHP] Keeping sessions
- References:
- Keeping sessions
- From: Jorge González
- Re: [PHP] Keeping sessions
- From: Stut
- Re: [PHP] Keeping sessions
- From: Richard Heyes
- Re: [PHP] Keeping sessions
- From: Stut
- Re: [PHP] Keeping sessions
- From: Jorge González
- Re: [PHP] Keeping sessions
- From: Stut
- Keeping sessions
- Prev by Date: Re: [PHP] Comparing string to array
- Next by Date: Re: [PHP] Keeping sessions
- Previous by thread: Re: [PHP] Keeping sessions
- Next by thread: Re: [PHP] Keeping sessions
- Index(es):
Relevant Pages
|
|