I have web application developed using java/j2ee and have enable basic authentication, its working fine. But there is one issue in the following below situation.
- Opened the same application in 2 different tabs.
- During login i am switching/back to this applications.
- But again it will ask for login credentials(basic authentication popup is coming)
Don't no what causing this issue? Any suggestion
Solution for the above issue:
Both application contains the same JSESSIONID
key which is getting conflict when i switching the tabs. I solved this by giving the unique JSESSIONID
key name for each application
App1 -- JSESSIONID_app1:bqkdsfasjfd79879jlkjadf
App2 -- JSESSIONID_app2:adfkjasf8908098kj987jkl