Linked Questions
62 questions linked to/from Are HTTP cookies port specific?
0 votes
1 answer
363 views
Removing cookies from different ports [duplicate]
Possible Duplicate: Are HTTP cookies port specific? I have two servers with a different port. Let's say: http://example.com http://example.com:8080 I create a cookie in http://example.com:8080 and ...
0 votes
0 answers
38 views
Is there any port specific cookie in asp .net [duplicate]
When I'm running my project from visual studio's separate instance i.e. different port no then every thing is working fine but if I run only one instance of visual studio in different browser at the ...
0 votes
0 answers
28 views
How to prevent Laravel from sharing session/cookies between multiple subdomains [duplicate]
I am using Laravel with Sanctum. I have 2 SPA's (Vue apps) at different ports: localhost:8080 -> spa1 (admin area) localhost:8081 -> spa2 (member area) My API communicates with both SPAs. ...
286 votes
16 answers
361k views
Set cookies for cross origin requests
How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? Here's an explanation of my situation: I am ...
77 votes
14 answers
173k views
Chrome localhost cookie not being set
I have an ASP.net application that uses a cookie to store the user selected language. Everything works fine except when I'm on localhost. Replacing localhost by 127.0.0.1 makes it work again... why? ...
8 votes
4 answers
18k views
Run Django on multiple ports
Could someone tell me how I can run Django on two ports simultaneously? The default Django configuration only listens on port 8000. I'd like to run another instance on port xxxx as well. I'd like to ...
21 votes
2 answers
100k views
Accessing cookies of an iFrame in parent window
I am loading an iFrame of a different domain. Both the parent and the iFrame sites are under my control. I'm using iFrame.postMessage to post messages to the iFrame. The site which I'm loading through ...
19 votes
3 answers
12k views
Session authentication with Django channels
Trying to get authentication working with Django channels with a very simple websockets app that echoes back whatever the user sends over with a prefix "You said: ". My processes: web: gunicorn ...
19 votes
3 answers
21k views
Sharing Cookie between different ports
I have an application1(C#) that is hosted on port:80 and application 2(nodejs) that is hosted on port:3030. Both are on localhost. The request workflow is as following: browsers sends request to ...
7 votes
5 answers
16k views
Express not setting Cookie
I have 2 servers. One hosting a next.js application on localhost:5555 and another hosting an express server for the api on localhost:4444. The authentication api returns a cookie however this is not ...
11 votes
2 answers
6k views
Browser not sending cookie in subsequent request
Working with a project, where using cookie for user identification. When user arrives, it calls the service (which is running in localhost) and the service sending cookie with the response header ...
7 votes
1 answer
13k views
HttpClient does not send cookies from CookieContainer
I'm developing a ASP WebAPI (ASP MVC 4) application with a WPF (.NET 4.0) client, using Visual Studio 2012. The client needs to login to the server. I use FormsAuthentication with an authentication ...
3 votes
3 answers
6k views
AngularJS - Does $resource requests send cookies automatically?
I am using a $resource in my angularJS app. Does it send automatically my cookies? I am doing requests on the same domain.
8 votes
2 answers
8k views
Why web browser don't care about port number when sending cookie?
I have manually created two cookies using firebug: Cookie1=value1; expires=Sat, 29 Mar 2014 06:21:54 GMT; path=/Ex05Cookie; domain=localhost; HttpOnly Cookie2=value2; expires=Sat, 29 Mar 2014 06:21:...
7 votes
2 answers
3k views
Simplemembership ASPXAUTH cookie validating on two separate web projects
I am working on an ASP.NET MVC4 project using SimpleMembership, which generates an ASPXAUTH cookie when you are logged in. It seems to be working just fine, but then today I opened up another MVC4 ...