FastCGI in various servers

Sylvain Rabot sylvain at abstraction.fr
Thu Dec 16 01:07:23 MSK 2010


On Wed, 2010-12-15 at 22:00 +0100, Antonio wrote:
> Hello,
> 
> I have a question about fastcgi. If I use 5 web server with fastcgi, 
> with a script that works with session variables, if it balances the 
> request to another different server. How to access the session 
> variables? As will be stored in another /tmp/SESSION_XXX (other machine).
> 
> I can use in nginx fastcgi servers located on another machine, some 
> configuration examples?. Thanks.
> 
> Regards,
> Anthony.
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
> 


Hi,

if you have several front-ends that handle sessions you should either
use a database to handle them or use a nfs mount point accessible by all
the front-ends to store the session files.

Regards.

-- 
Sylvain Rabot <sylvain at abstraction.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://nginx.org/pipermail/nginx/attachments/20101215/247f1064/attachment.pgp>


More information about the nginx mailing list