}
}
#else
-#if CONFIGURATION_2_0
+#if NET_2_0
static SessionStateSection config;
#else
static SessionConfig config;
handler.Dispose();
}
-#if CONFIGURATION_2_0
+#if NET_2_0
SessionStateSection GetConfig ()
#else
SessionConfig GetConfig ()
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");
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 ();
internal void OnSessionRemoved (string key, object value, CacheItemRemovedReason reason)
{
-#if CONFIGURATION_2_0
+#if NET_2_0
SessionStateSection cfg = GetConfig ();
#else
SessionConfig cfg = GetConfig ();