Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs')
-rw-r--r--mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs b/mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs
index c820bb90de8..8a856f6c334 100644
--- a/mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs
+++ b/mcs/class/System.Web/System.Web.SessionState/SessionSQLServerHandler.cs
@@ -42,7 +42,7 @@ namespace System.Web.SessionState {
{
private static Type cncType = null;
private IDbConnection cnc = null;
-#if NET_2_0
+#if CONFIGURATION_2_0
private SessionStateSection config;
#else
private SessionConfig config;
@@ -57,7 +57,7 @@ namespace System.Web.SessionState {
}
public void Init (SessionStateModule module, HttpApplication context,
-#if NET_2_0
+#if CONFIGURATION_2_0
SessionStateSection config
#else
SessionConfig config
@@ -123,7 +123,7 @@ namespace System.Web.SessionState {
id = SessionId.Create (module.Rng);
session = new HttpSessionState (id, new SessionDictionary (),
HttpApplicationFactory.ApplicationState.SessionObjects,
-#if NET_2_0
+#if CONFIGURATION_2_0
(int)config.Timeout.TotalMinutes,
#else
config.Timeout,
@@ -131,7 +131,7 @@ namespace System.Web.SessionState {
true, config.CookieLess, SessionStateMode.SQLServer, read_only);
InsertSession (session,
-#if NET_2_0
+#if CONFIGURATION_2_0
(int)config.Timeout.TotalMinutes
#else
config.Timeout