• Post Reply Bookmark Topic Watch Topic
  • New Topic

Firefox session reuse causing problems with backing beans

 
Jason Irwin
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been testing my session handling and hit an odd problem:
IE6 - new window, new httpSession, need to login again - OK
IE7 - new window or new tab, new httpSession, need to login again - OK
IE8 - new window or new tab, new httpSession, need to login again - OK
Firefox - new window or new tab, same httpSession, need to login again - not OK

[I will be creating adding silent-sign, so the current need to login again is not a concern]

What is a concern is FF reusing the same session. This means the user cannot have multiple tabs/windows open and run multiple searches with different criteria; which is a requirement. I had not expected FF to send back the same session information.

Anyone got any ideas on how to force FF to get a new session for each tab/window or somehow detect/manage the attempted reuse?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's usually an option with browsers that says "run new windows/tabs in a separate process".

If new tabs or windows run in a separate process, the in memory session ids are not shared. If they are run in the same process, they are shared.

IE can be configured to do the same thing, so it's more a client configuration problem than a browser centric problem.

Browsers have evolved quite a bit since I last played around with these settings, so I'm not sure how entirely configurable these things are. What does Chrome do?

-Cameron McKenzie
 
Jason Irwin
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was afraid of that.

I've had a look about in the IE and FF settings and can't find anything obvious, I thought each tab was a separate process by default in FF? This is going to be a problem....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!