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 ?
– LR10
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.
– Marcelo
You should check if you have an active session for the user.
– LR10
you want to control both are not?
– LR10
I actually only want one active tab per user.
– Marcelo