I have a website that uses Forms Authentication (built-in code that came with ASP.NET Razor template). Many of my pages make AJAX (via jQuery's $.ajax) calls to the web site.
I noticed that in secure sections of my site, .ASPXAUTH cookie is sent with each request, which is exactly what I want. But, I also noticed that the size of this cookie is 285 bytes. That's almost a 1/3 Kb on every request.
My intention is to make these AJAX calls as fast as possible, and it sounds like it's too much overhead just to indicate that somebody is logged in.
Is there any way to decrease the size of .ASPXAUTH? Is there a way to provide an alternative cookie that's "understood" by the Form Authentication infrastructure?
Thank you.
...
Go to the complete details ...