Closed Bug 402588 Opened 19 years ago Closed 19 years ago

Multiple Tabs share the same session Id.

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 117222

People

(Reporter: nawaf227, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 3.5.20706; .NET CLR 1.1.4322; InfoPath.2) Build Identifier: 2.0.0.8 In noticed that in tab browser tech, whenever you open tabs for the same site they generally share the same session id as if you were doing CTRL+N in IE. E.g. if you open a site and do login, and then open another tab and login again to the same site, both tabs will share the same session id. The problem is in some sites they usually store information in HTTP session, for instance imaging you have a page that when you access as logged in user we will store an item id in your Http session expecting you to click on save button to process the item. Now suppose we have two items with id (1 and 2) respectively. What if you open two tabs, tab1 and tab2, then access item id=1 page on tab1 now the session value say ItemId=1, then go to tab2 and access the item with id 2, now the system will store the value ItemId=2. The problem is if the user doesn’t continue on tab2 and goes back to tab1 and click save. The system will process the item with id=2 instead of item with id=1, since the current ItemId is equals to 2 because of tab2. There are plenty of scenarios like this and it is very hard to try to come up with a prevention specially when you have very big system, and they were relying on a secure manner which is HTTP Session to avoid the user tempering with the data. Reproducible: Always Steps to Reproduce: 1. 2. 3.
This was actually one of the big differences between Netscape and Explorer back in the 90's. There are pro's and con's for every approach.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.