> I have a question regarding terminating sessions in a
> clustered environment.
>
> My session replication is working fine except when I
> invalidate a session.
>
> If I invalidate a session with session.invalidate(), then
> that session is successfully terminated on that server
> (server1). However the session is still alive and well on the
> buddy server (server2)
>
> This means that the user can continue working if they happen
> to get routed to server2.
>
> Moreover, if they make an update to that session on server2,
> it then gets replicated back to server1 where it becomes
> active again.
>
> Has anyone else seen this happening?

I haven't got a clue about session termination through Java, but if you
can't find an answer, you might consider just deleting the client token
(usually the jsessionid cookie), which will effectively get you the same
result from the end user's perspective.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to