2006-02-01 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.SessionState / SessionStateModule.cs
index 7e6b1ca9e9b1329fc290817bff1c7a3b7de3de1d..dc6d33b3e5cd7c71527736dd61fb90fd8a57e825 100644 (file)
@@ -64,7 +64,7 @@ namespace System.Web.SessionState
                        }
                }
 #else
-#if CONFIGURATION_2_0
+#if NET_2_0
                static SessionStateSection config;
 #else
                static SessionConfig config;
@@ -91,7 +91,7 @@ namespace System.Web.SessionState
                        handler.Dispose();
                }
 
-#if CONFIGURATION_2_0
+#if NET_2_0
                SessionStateSection GetConfig ()
 #else
                SessionConfig GetConfig ()
@@ -101,7 +101,7 @@ namespace System.Web.SessionState
                                if (config != null)
                                        return config;
 
-#if CONFIGURATION_2_0
+#if NET_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 CONFIGURATION_2_0
+#if NET_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 CONFIGURATION_2_0
+#if NET_2_0
                        SessionStateSection cfg = GetConfig ();
 #else
                        SessionConfig cfg = GetConfig ();