Commit e2e689a
authored
Ensuring deleted cookies are recognized by the browser by ensuring the MaxAge within CookieOptions is set to null. (#55169)
* Explicitly appending the MaxAge as null at the end of the delete method to ensure deletion within the browser
* Ensuring the IsEssential property of CookieOptions is carried
* syntax error.
* Simplifying the change to just override MaxAge and Expires when appending
* Adding insightful comment to ResponseCookies.cs
* Ammending the methods DeleteCookie() and DeleteChunks() to ensure MaxAge of cookieOptions is set to null upon deletion1 parent c9af79a commit e2e689a
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
| 335 | + | |
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
| |||
0 commit comments