IE8 Apache Authentication problem

Hello,

I am facing a new problem with IE8 - there's a different behavior between IE8 and IE7.
Our product is actually a standard web application using Java and Apache Tomcat 4.
Our login authentication problem is quite standard comparing between users' input and stored credentials in MySQL DB.
When I open the first IE8 window and connecting to my application I get the desired login screen for authentication. Upon successful authentication I have access to the application.
Now, the problem starts when I want to open a second window and login to the application with a different user. This, in IE8 can't be done, instead of getting the login page, the Apache already consider me as authenticated with the user that is logged in in the other window.
I saw that for some reason Apache's authenticated principal of the first window is associated with the second one and thus preventing from me the ability to work with 2 different users. A capability that is very well possible with IE7 and IE6.

Does anyone of you know what is the difference in IE8 and if there's a solution?

Thanks a lot,
Tal
mercadoswAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gibu GeorgeChief Technology OfficerCommented:
In the case of IE8 each window is a part of the same task, and are  multiple processes or threads of the same window. similar to chrome,  where are as IE7 is a single threaded browser, but if you open another window in IE 7 it is a diffeernt task and hence can have multiple sessions of the same application. This has nothing to do with the application.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gibu GeorgeChief Technology OfficerCommented:
Simply click the New Session item on the File menu, and a new browser window will open.  The new browser window will not share session cookies with the original browser window, so you can log into Hotmail (and most web applications) as a different user.
0
mercadoswAuthor Commented:
Hey Gibu,

Thanks for your help - really helpful.
I wasn't aware to that difference in IE8 and Chrome - thank you for enlighting me.
I also wanted to know if there's a way to change the default behavior of IE8 to open a new session everytime a new window is opened.
It looks a bit strange to me as this is not entirely backwards compatible with IE7 and IE6 - people are used to a different kind of behavior when they open a new window.

Thanks
0
delhommoisCommented:
There is a way to severate the session by default. If you run the iexplore process withe parameters : -nomerge parameter

You can check :
http://blogs.msdn.com/ie/archive/2009/05/06/session-cookies-sessionstorage-and-ie8.aspx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.