Closed Bug 197925 Opened 21 years ago Closed 21 years ago

browser overwrites same named cookies from same domain but different ports

Categories

(Core :: Networking: Cookies, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189784

People

(Reporter: pmuhl, Assigned: darin.moz)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

I think this used to work fine in previous versions:  I'm running a test server
on a different port at my domain.  The site stores cookies to manage logins. 
When I log in to the server at one port, the (same-named) cookies overwrite the
cookies from the other port, essentially logging me out of the first one.  When
I look at the cookies in the cookie manager, the port isn't appended to the
domain, so it's basically ignoring the port.

Reproducible: Always

Steps to Reproduce:
1.set up identical web servers under the same domain name with different ports
2. have a login page store cookies in your browser
3. switch between ports and note that you get logged out from one to the next

Actual Results:  
I have to re-login every time I switch ports.

Expected Results:  
stored separate cookies per port for the same domain
dup of bug 189784 / bug 142803

*** This bug has been marked as a duplicate of 189784 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.