You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Torsten Trzeciak <tr...@directbox.com> on 2002/03/11 08:40:24 UTC

How to avoid one session in multiple browser instances

Hi,
in my app there is a very common way to handle data:
List -> Select a row -> change -> save

The ID of the data is in the session. What can I do to prevent multiple browser instances (e.g. CTRL N) . 
How can I guarantee that only one instance of the browser is open. Do they  send an ID or so?

I think one solution is to put the ID in a hidden field and compare it with the value of the session.

What is the best pattern to handle this problem?
__________________________________________________
Gestalte Dein eigenes Handy-Logo unter http://www.yesms.de

Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag
eMail, FAX, SMS, VoiceMail mit http://www.directbox.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>