www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Cookies not working in Microsoft Edge web browser

reply tutu10 <tutu101108 gmail.com> writes:
Have a good days
I developed a website that uses cookies. The cookies work in 
Chrome, Firefox, and Safari but NOT in Microsoft Edge. I’ve 
enabled cookies in Edge (that’s another gripe I have with Edge: I 
can’t create pop-up exceptions like I do with the other web 
browsers), but still doesn’t work.

Does anyone have a solution? I’d appreciate any help.
Nov 25 2018
parent reply =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig+d outerproduct.org> writes:
Am 26.11.2018 um 08:04 schrieb tutu10:
 Have a good days
 I developed a website that uses cookies. The cookies work in Chrome, 
 Firefox, and Safari but NOT in Microsoft Edge. I’ve enabled cookies in 
 Edge (that’s another gripe I have with Edge: I can’t create pop-up 
 exceptions like I do with the other web browsers), but still doesn’t work.
 
 Does anyone have a solution? I’d appreciate any help.
They do appear to work for me in general in Edge. Do you set the "domain" attribute for the cookie, and which is the domain of the request that is being made? That sounds like the most likely source of failure, since domain validation can behave differently for IP addresses or /etc/hosts based domains like "localhost".
Nov 26 2018
parent reply Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
On Monday, 26 November 2018 at 09:55:54 UTC, Sönke Ludwig wrote:
 Am 26.11.2018 um 08:04 schrieb tutu10:
 Have a good days
 I developed a website that uses cookies. The cookies work in 
 Chrome, Firefox, and Safari but NOT in Microsoft Edge.
https://www.google.com/search?q=%22The+cookies+work+in+Chrome%2C+Firefox%2C+and+Safari+but+NOT+in+Microsoft+Edge.%22&ie=utf-8&oe=utf-8
Nov 26 2018
parent =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig+d outerproduct.org> writes:
Am 26.11.2018 um 12:23 schrieb Vladimir Panteleev:
 On Monday, 26 November 2018 at 09:55:54 UTC, Sönke Ludwig wrote:
 Am 26.11.2018 um 08:04 schrieb tutu10:
 Have a good days
 I developed a website that uses cookies. The cookies work in Chrome, 
 Firefox, and Safari but NOT in Microsoft Edge.
https://www.google.com/search?q=%22The+cookies+work+in+Chrome%2C+Firefox%2C+and+Safari+but+NOT+in+Microsoft+Edge.% 2&ie=utf-8&oe=utf-8
Hm, yeah, I also noticed right after submitting the reply that this is in the D group and not the vibe.d one...
Nov 26 2018