struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Thompson <elephant...@gmail.com>
Subject Re: To create new session without invalidating existing one
Date Thu, 29 Sep 2011 12:55:08 GMT
On Thu, Sep 29, 2011 at 3:58 AM, Marcus Bond <marcus@marcusbond.me.uk>wrote:

> What is the reason for the new session? Doesn't sound a great plan.
> Anyway you're going to have a problem as this isn't how browsers expect to
> work, that said Chrome allows incognito browsing so that might work but it
> isn’t generally the expected behaviour.
>
> If the same application is being accessed from the same browser (Firefox,
> Chrome, IE etc.) once a session is created then that is the same session
> unless you destroy it. Your browser has a cookie with the jsessionid and
> that cookie is for the site from that browser across all windows not per
> browser window.
> Marcus.
>


I should probably note that my suggestion for managing two sessions is
really more like "reimplement session functionality manually", so it's not a
very efficient course.

Brian

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message