diff --git a/Dotnet/WebApi.cs b/Dotnet/WebApi.cs index 5cf7f1ed..0d0dbb43 100644 --- a/Dotnet/WebApi.cs +++ b/Dotnet/WebApi.cs @@ -9,6 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; +using Cookie = System.Net.Cookie; namespace VRCX { @@ -92,6 +93,10 @@ namespace VRCX { return; } + foreach (Cookie cookie in _cookieContainer.GetAllCookies()) + { + cookie.Expires = DateTime.MaxValue; + } try { using (var memoryStream = new MemoryStream())