GPathwarden
GPathwarden

Reputation: 1

Asp.net applications suddenly don't keep sessions anymore while running in localhost

Every aspnet web application I try to run locally just doesn't keep sessions anymore.
Somehow, this happens on both VS 2013 & 2015 with different projects. I haven't touched anything, one morning I found out that after a redirect every session data is lost.
These applications are still working on production and dev environments.

Upvotes: 0

Views: 347

Answers (1)

LogicalDesk
LogicalDesk

Reputation: 1297

A proxy server or firewall on the web server side is stripping out the cookie. It may be that the user is correctly storing and sending the session cookie, but that the hardware on the web server's side is stripping out the cookie before it can be read by the ASP or ASP.NET engine, causing the server to generate a new SessionID and a new cookie for the user on each request.

Upvotes: 0

Related Questions