Loadbalancer issue
Arthur Erdös
ae at brainguide.com
Thu Dec 11 11:03:01 EST 2008
Hello Scott,
our session data is stored in a mysql database and available on each
server.
Regardless of that it should not be a session issue if the user is
authenticated or not, or am i wrong? The user might access casified
applications on different servers and have different sessions...
Arthur
On Thu, 2008-12-11 at 10:14 -0500, Scott Battaglia wrote:
> Sessions are only bound to the server that they originated from unless
> you replicate them across your web farm. But that's a general issue
> and not CAS specific. You'll find that anything you put in your
> session wouldn't have been replicated to other servers.
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
>
> On Thu, Dec 11, 2008 at 10:08 AM, Arthur Erdös <ae at brainguide.com>
> wrote:
> Hello NG,
>
> I've noticed a strange problem with CAS concerning a WebApp
> using load
> balancing. The isAuthenticated() method seems to return false
> when the
> load balancer sends the user to another webserver although he
> is really
> logged in and authenticated at CAS...
>
> The error only occurs when the load balancer is configured to
> send the
> user randomized to an available server. It does NOT occur when
> it is
> configured to send the user (session) always to the same
> server!
>
> Has anybody noticed such a behavior? Is this a known issue? Is
> the SSO
> session bound to the server the login request came from?
>
> Thx in advance for the hints ;)
>
> best regards
> Arthur
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
More information about the cas
mailing list