Question

what could the cause behind dropping of authentication cookie (.ASPXAUTH) intermittently in an MVC3 app?

I checked the size of cookie which seems to be around 2kB.

It flows without any issues during login and performing few actions in site. but after performing one specific action (where I am returning a pdf file from server and cookie in untouched there) it drops for a very few users.

Could there be any other reason behind user being logged out of system after certain action?

Was it helpful?

Solution

I just have got info that cookie can be dropped if your applcation is being recycled by the server. There are three conditions that would cause your application pool to be recycled by the server. 1. Over CPU usage. 2. Over memory usage. 3. No http calls for 20 minutes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top