I’ve a web application in java/jsf with richfaces.
And i’ve to make a client control to my login, for block multiple tabs login.
Example: When logged in a tab, i cannot login in the same application in another tab in the same browser.
Someone knows some framework or something thats make it ?
I tried to make by myself, but this control is a lot complicated because my JSessionID do not change for new tabs, all tabs in a browser session contains the same JSessionID.
The javascript instance is no equal to all tabs, and i can save cookies to control it. But, my control is to weak, cleaning the cookies break all my code security.
Sorry for my poor english… 🙂
Cookies are “global” to a single browser instance. If they weren’t, then sites could not (for example) open up separate pop-up browser windows (and have things work properly).