The thing is I run open source software that I don't want to modify myself
(postfixadmin, SquirrelMail), so I`m looking for a solution at the
load-balancer level. I know I can do this with Pound, but I already have
nginx running and servering few sites (and I`m quite happy with it), so I
don't want another load balancer as well.
Can you give some examples of implementing php sessions in mysql, should I
decide to go that way?
On Tuesday 27 May 2008 22:07:19 mike wrote:
same here
just a simple drop-in replacement for php sessions that uses 5
functions. nothing special. could be setup to be master/master or
anything. it's very simple in php to override normal session
management ;)
On 5/27/08, Renaud Allard <rena...@public.gmane.org>
wrote:
Pavel Georgiev wrote:
I`m using nginx as a load balances for 2 backend servers that run a php
application. I need session awareness so I`ve enabled ip_hash for the
upstream, but in case one node fails, all requests that should go to that
node get the error_page.
Is there a way to have session awareness without loosing the redundancy
that 2 backend servers provide?
What I use is session_mysql over a master-master mysql server, this
should allow you to get the session hash between both servers.