• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to invalidate session on opening a new tab

 
Shounak Kundu
Ranch Hand
Posts: 60
IBM DB2 Eclipse IDE Fedora
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi mates,

Can you suggest how can I invalidate the existing session on opening a new tab in the same browser ?



Thanks in advance :)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like an odd thing to be doing. What are you actually trying to accomplish?
 
Shounak Kundu
Ranch Hand
Posts: 60
IBM DB2 Eclipse IDE Fedora
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the user copies the URL and pastes it in the new tab , the session should be terminated. That's what I want .
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way to detect that. Why would you want to do that anyways? Please don't tell me it's someone's idea of a "security" requirement.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!