From 1ae3a844c463c5ac30c2004759d07261c1b77cc8 Mon Sep 17 00:00:00 2001 From: Greg Edwards Date: Sun, 25 Jan 2015 18:35:27 -0500 Subject: [PATCH] Make session expiry work on IIS 7. --- GamestatsBase | 2 +- gts/Global.asax.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/GamestatsBase b/GamestatsBase index 4c971789..4d899d0f 160000 --- a/GamestatsBase +++ b/GamestatsBase @@ -1 +1 @@ -Subproject commit 4c971789f6bae126425211073ee30e3a11073054 +Subproject commit 4d899d0f5959d41138f22a6d27a3a210c1fc30e0 diff --git a/gts/Global.asax.cs b/gts/Global.asax.cs index b5719dba..e6fbf4ed 100644 --- a/gts/Global.asax.cs +++ b/gts/Global.asax.cs @@ -57,6 +57,7 @@ namespace PkmnFoundations.GTS void Application_EndRequest(object sender, EventArgs e) { + GamestatsSessionManager.FromContext(Context).PruneSessions(); } public static String RewriteUrl(String url, out String pathInfo, out String query)