views:

37

answers:

0

If a user opens 2 web pages simultaneously they will create 2 sessions.

Usually this would not matter but it does create a problem for remember me functionality when attempting to rotate cookie tokens as recommended in the persistent login cookie best practices. There seems to be no way to rotate both cookies correctly where both sessions are opened simultaneously.

How can I resolve this?

I use Tomcat and Struts 1, but I think this is framework independent.