block second tab of the same user session with JSF

Asked

Viewed 280 times

2

I have a problem. How do I not allow two tabs to access the same session, using JSF.

I have a web system where every user has their profile. And the profile is used to generate custom forms. After the profile confirmation I no longer allow the name change.

It turns out they are opening two or more simultaneous tabs and keep changing the names by printing the same document with multiple names.

For this reason I need to block the opening of two simultaneous tabs of the same user. Or at least when the second is opened.

  • image or an example ?

  • Ex. open gmail in two tabs with the same user. In my application I need to block this. Independent of the open browser or if the tab is normal or anonymous.

  • 2

    You should check if you have an active session for the user.

  • you want to control both are not?

  • I actually only want one active tab per user.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.