aspose file tools*
The moose likes Struts and the fly likes Prevent users from opening multiple windows to the same site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Prevent users from opening multiple windows to the same site" Watch "Prevent users from opening multiple windows to the same site" New topic
Author

Prevent users from opening multiple windows to the same site

nn nike
Greenhorn

Joined: Jun 03, 2011
Posts: 1
In a java struts web app, if I am browsing a site and then I open another IE 8 window* and go to the same site, is there a way to detect that the new request has come from another window from the same machine.

Basically my requirement is to alert the user that they cannot open another window with the same site.

*In IE 8 all windows share the same session. Hence request.getsession() would always return the same ID across all the windows.
 
Don't get me started about those stupid light bulbs.
 
subject: Prevent users from opening multiple windows to the same site