Don't allow browsers to cache the ASP.NET page
This allows the WS URL to be re-generated for each session. Fixes #83
This commit is contained in:
parent
7267bb2687
commit
7f1a4363ef
|
@ -22,6 +22,7 @@ namespace Ooui.AspNetCore
|
|||
var response = context.HttpContext.Response;
|
||||
response.StatusCode = 200;
|
||||
response.ContentType = "text/html; charset=utf-8";
|
||||
response.Headers["Cache-Control"] = "no-cache, no-store, must-revalidate";
|
||||
|
||||
if (element.WantsFullScreen) {
|
||||
element.Style.Width = GetCookieDouble (context.HttpContext.Request.Cookies, "oouiWindowWidth", 32, 640, 10000);
|
||||
|
|
Loading…
Reference in New Issue