use the browser debug tools. also check if the request is cached, so the cookie is not sent.
Cookie is not getting updated in IIS hosted ASP.NET MVC app
In our ASP.NET MVC app hosted on IIS, we face an issue where the cookie is not getting overwritten when the user switches culture.
However, interestingly, when we debug the app using IIS Express, the cookie works fine.
We're curious about the possible reasons behind this discrepancy. Can anyone shed some light on this?
Windows development | Internet Information Services
Developer technologies | ASP.NET | Other
2 answers
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,851 Reputation points Volunteer Moderator
2023-06-12T01:21:19.42+00:00 -
Anonymous
2023-06-13T08:03:12.5933333+00:00 Hi @thunder12,
I referred to this article and created a simple example, I published it on my local IIS and it seems to work fine. Can you provide more details?
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.