diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs b/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs index dc6d33b3e5c..7e6b1ca9e9b 100644 --- a/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs +++ b/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs @@ -64,7 +64,7 @@ namespace System.Web.SessionState } } #else -#if NET_2_0 +#if CONFIGURATION_2_0 static SessionStateSection config; #else static SessionConfig config; @@ -91,7 +91,7 @@ namespace System.Web.SessionState handler.Dispose(); } -#if NET_2_0 +#if CONFIGURATION_2_0 SessionStateSection GetConfig () #else SessionConfig GetConfig () @@ -101,7 +101,7 @@ namespace System.Web.SessionState if (config != null) return config; -#if NET_2_0 +#if CONFIGURATION_2_0 config = (SessionStateSection) WebConfigurationManager.GetSection ("system.web/sessionState"); #else config = (SessionConfig) HttpContext.GetAppConfig ("system.web/sessionState"); @@ -130,7 +130,7 @@ namespace System.Web.SessionState public void Init (HttpApplication app) { sessionForStaticFiles = (Environment.GetEnvironmentVariable ("MONO_XSP_STATIC_SESSION") != null); -#if NET_2_0 +#if CONFIGURATION_2_0 SessionStateSection cfg = GetConfig (); #else SessionConfig cfg = GetConfig (); @@ -239,7 +239,7 @@ namespace System.Web.SessionState internal void OnSessionRemoved (string key, object value, CacheItemRemovedReason reason) { -#if NET_2_0 +#if CONFIGURATION_2_0 SessionStateSection cfg = GetConfig (); #else SessionConfig cfg = GetConfig (); |