GraniteHouse
GraniteHouse copied to clipboard
Problem add item in bag
If I use Chrome I can add items in a cart and it shows how many items I have. But when I use Edge or IE it is impossible to add any items into the cart . After pressed " add to bag " it is nothing to added. Anybody has the same issue?
In addition, it is the same problem when I use original package "GraniteHouse-master"
Same here, Firefox are OK, but your right on IE and chrome Might be related to this : [asp .net core app doesn't set response cookie in IE and EDGE but works well in firefox and chrome](https://stackoverflow.com/questions/50692588/asp-net-core-app-doesnt-set-response-cookie-in-ie-and-edge-but-works-well-in-f l)
I can't get this to work with ANY browser, in debug, release, or even remote publish.
Could you please email me your code at [email protected]
On its way from [email protected]
Hi Bhrugen Patel, There is a link:GraniteHouse.zip
| | | | GraniteHouse.zip
|
|
|
Regards,Alexey
On Wednesday, September 19, 2018, 8:14:50 p.m. EDT, Bhrugen Patel <[email protected]> wrote:
Could you please email me your code at [email protected]
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I've fixed this issue by comment // app.UseCookiePolicy(); in Startup.cs Now shopping cart works in IE and Chrome I think it is better to configure 👍 _services.Configure<CookiePolicyOptions>(options => { // This lambda determines whether user consent for non-essential cookies is needed for a given request. options.CheckConsentNeeded = context => true; options.MinimumSameSitePolicy = SameSiteMode.None; });
I've checked Startup.cs Cookie Options and found that it works when we change options.CheckConsentNeeded = context => false; from true to false. I don't know how it works.