nikmd23 / CourtesyFlush

The source for my CourtesyFlush NuGet package.
Apache License 2.0
72 stars 6 forks source link

Add fallback logic for AntiForgeryToken, don't send a new AntiForgeryToken cookie on every request #17

Closed drayfar closed 8 years ago

drayfar commented 9 years ago

Adds logic to fall back to the built-in AntiForgeryToken hidden input if no FlushedAntiForgeryToken exists. Avoids sending a new AntiForgeryToken cookie in the response if one already exists in the request.