Mailing List Archive

Cookie based persistent HTTP and/or HTTPS sessions
Can LVS in any of its modes be configured to support cookie based persistent
sessions?

Thanks,
Eric
Re: Cookie based persistent HTTP and/or HTTPS sessions [ In reply to ]
On Wed, Jan 03, 2001 at 07:45:30PM -0800, Eric Brown wrote:
> Can LVS in any of its modes be configured to support cookie based persistent
> sessions?

No.

This would require inspection of the TCP data secion, and infact an
understanding of HTTP. LVS only has access to TCP headers.


--
Horms
RE: Cookie based persistent HTTP and/or HTTPS sessions [ In reply to ]
Is there an open source load balancing option that does support cookie based
persistent sessions?

Thanks,
Eric

-----Original Message-----
From: Horms [mailto:horms@vergenet.net]
Sent: Wednesday, January 03, 2001 7:41 PM
To: lvs-users@LinuxVirtualServer.org
Subject: Re: Cookie based persistent HTTP and/or HTTPS sessions

On Wed, Jan 03, 2001 at 07:45:30PM -0800, Eric Brown wrote:
> Can LVS in any of its modes be configured to support cookie based
persistent
> sessions?

No.

This would require inspection of the TCP data secion, and infact an
understanding of HTTP. LVS only has access to TCP headers.


--
Horms

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
Re: Cookie based persistent HTTP and/or HTTPS sessions [ In reply to ]
Hi,

Assuming you are clustering an HTTP service in the 'common' fashion...

LVS --> realservers (+ web server + cgi + cookies) --> backend database

...then do you _really_ need persistence based on individual cookies?

Because your cgi / asp / php / jsp etc... that reads and writes your
cookies will be the same across all the real servers (because you are load
balancing the application / web pages etc...) thus the cookie will provide
the state information (to / from the database) that you need.

If this isn't the case for your web application, could you describe your
situation further?


On Wed, Jan 03, 2001 at 08:52:14PM -0800, Eric Brown wrote:
> Is there an open source load balancing option that does support cookie based
> persistent sessions?
>
> Thanks,
> Eric


--
B. http://makelinux.org/ "Always real." http://realthought.net/
__________________________________________________________________________
File cabinet:
A four drawer, manually activated trash compactor.