• Post Reply Bookmark Topic Watch Topic
  • New Topic

Prevent users from opening multiple windows to the same site

nn nike
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!