12 writes to MaxAge
Microsoft.AspNetCore.Authentication.Cookies (2)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
307MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159) 335MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159)
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieChunkingTests.cs (1)
36MaxAge = TimeSpan.FromMinutes(5)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
307MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159) 335MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159)
Microsoft.AspNetCore.Http (1)
Internal\ResponseCookies.cs (1)
166MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159)
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
114MaxAge = MaxAge,
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
43MaxAge = options.MaxAge;
Microsoft.AspNetCore.Http.Tests (2)
CookieOptionsTests.cs (1)
25MaxAge = TimeSpan.FromSeconds(10),
ResponseCookiesTest.cs (1)
233cookieOptions.MaxAge = TimeSpan.FromHours(1);
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
307MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159) 335MaxAge = null, // Some browsers require this (https://github.com/dotnet/aspnetcore/issues/52159)
4 references to MaxAge
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
CookieBuilderTests.cs (2)
41Assert.Null(new CookieBuilder().Build(new DefaultHttpContext()).MaxAge); 45Assert.Equal(now, options.MaxAge);
Microsoft.AspNetCore.Http.Features (2)
CookieOptions.cs (2)
43MaxAge = options.MaxAge; 120MaxAge = MaxAge,