A single HTTP session is used for browsers that support multiple tabs firefox. This causes a problem when different views of a single JSF application are accessed from different browser tabs. In short this is causing or seems to be causing problems for me. How can I write a JSF application to be �tab� independent?
I thought about using a tab or �browser instance� hidden field within each form. Each time a request was received a filter would check for the special hidden field. If present, the hidden field would be used together with the session id to form a unique composite key used to access the session data. If not present a new value would be created to store the session data. I think that there are many other problems (redirect, links, etc) that I would have to also deal with� It also seems like a recipe for disaster.
I would like to hear how others have solved this problem... That is, multiple browser instances (via tabs) that share the same session id and access the same JSF application.
What kinds of problems is it causing? Offhand, I'd say that a well-written web app should have no problems serving several different pages to the same user. Is this something like a wizard, where several subsequent pages depend on one another?
I opened one browser(Mozilla) and run my application.Copy the URL from address bar and opened another browser(Mozilla) paste the copied URl in this browser.It is showing that page what i opened in first browser.
I want to restrict this one.If i paste that URL i want to redirect to login page. For this iam written one filter it is working fine for IE.But not for Mozilla
So how can i do this.Give me a solution for this please
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
a bit of art, as a gift, that will fit in a stocking