struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon" <si...@zerosoftware.net>
Subject Re: Problem: multiple browsers and session state
Date Wed, 06 Feb 2002 15:02:15 GMT
This is application-independant, in that it's not just struts this affects

One solution is to look for potential collisions and implement a lease/lock
strategy on the resources that my collide (similar to std. file/resource
locking), although with a lease on the lock due to the stateless nature of
the app. in question.

When I've had problems where multiple users edit the same data, I've
generally taken the easy option and decided that the users have to have at
least an iota of sense and collaberate with each other.

.s

----- Original Message -----
From: "Erich Meier" <emr@methodpark.de>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, February 06, 2002 2:46 PM
Subject: Problem: multiple browsers and session state


> Hi!
>
> Are there any best practices known, how to deal with a user accessing a
> struts application with multiple browsers at the same time?
> Because cookies are shared between browser instances, these browsers run
within
> the same session - this is also true when cookies are blocked and URL
session
> identifiers are used.
>
> This corrupts the session state - i.e. an action in one browser influences
> the next action done in the other browser.
>
> Is there any simple solution for this? I mean other than keeping all your
state
> in hidden HTML form fields, which would render the session concept rather
> useless?
>
> Thanks in advance,
> Erich
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message