I have just spotted quite a serious problem with my rails app. My app
uses the session to store information. Most people who use the app may
have more than one instance of it open in their browser (multiple tabs).
The session stores which country the user has selected. On each browser
tab the user may select a different country. You can add items to a
country. There are problems with items being added to the wrong
country. This is because the session is shared between the 2 open tabs.
Does anyone know how to get round this? I know i could store country
info in the page as a hidden field or attatch it to the end of every
URL, but in my situation this is too much extra work. It would be
unfortunate if i could not use sessions to do this.
I have also just noted a simular problem with my one of my J2EE apps…
Any info/help would be very valuable,