2007-10-15 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Mon, 15 Oct 2007 09:42:03 +0000 (09:42 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Mon, 15 Oct 2007 09:42:03 +0000 (09:42 -0000)
* SessionStateServerHandler.cs: adjust order of field
initialization.

svn path=/trunk/mcs/; revision=87493

mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateServerHandler.cs

index fe355b60d19fc6114bd6208c598b344161deb33a..4adac5b6a653e1b536fa2f6a72fe1ebcfe455591 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-15  Marek Habersack  <mhabersack@novell.com>
+
+       * SessionStateServerHandler.cs: adjust order of field
+       initialization. 
+
 2007-09-18  Marek Habersack  <mhabersack@novell.com>
 
        * SessionIDManager.cs: preserve the query part of the url when
index b12a1cf8a086a62770671aa536bb23434f8afc95..f586d62a4a841583fddc04325b6d6b71ef8b145f 100644 (file)
@@ -158,6 +158,7 @@ namespace System.Web.SessionState
 #if TRACE
                        Console.WriteLine ("SessionStateServerHandler.Initialize");
 #endif
+                       this.config = (SessionStateSection) WebConfigurationManager.GetSection ("system.web/sessionState");
                        if (String.IsNullOrEmpty (name))
                                name = "Session Server handler";
                        RemotingConfiguration.Configure (null);
@@ -165,7 +166,7 @@ namespace System.Web.SessionState
                         GetConData (out proto, out server, out port);
                         cons = String.Format ("{0}://{1}:{2}/StateServer", proto, server, port);
                         stateServer = Activator.GetObject (typeof (RemoteStateServer), cons) as RemoteStateServer;
-                       this.config = (SessionStateSection) WebConfigurationManager.GetSection ("system.web/sessionState");
+
                        base.Initialize (name, config);
                }