I have a problem. How do I not allow two-tab access in the same session using JSF.
I have a web system where each user has their profile. And the profile is used to generate custom forms. After confirming the profile I no longer allow the name change.
It turns out that they are opening two or more concurrent tabs and are 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 one is opened to close the first session.