Implementation of the 2.0 session state model
[mono.git] / mcs / class / System.Web / System.Web.SessionState / SessionStateServerHandler.cs
index 701d4c1b728682bb61d6e2e26b5c14c6cc1e2741..49f1cf987e1de026beb6cfff1e98dc1ecf8b519a 100644 (file)
@@ -28,7 +28,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-
+#if !NET_2_0
 using System;
 using System.IO;
 using System.Reflection;
@@ -116,7 +116,7 @@ namespace System.Web.SessionState {
                                }
                        }
                        
-                       id = SessionId.Create (module.Rng);
+                       id = SessionId.Create ();
                        dict = new SessionDictionary ();
                        sobjs = HttpApplicationFactory.ApplicationState.SessionObjects;
                        item = new StateServerItem (dict.ToByteArray (), sobjs.ToByteArray (),
@@ -168,4 +168,4 @@ namespace System.Web.SessionState {
                }
        } 
 }
-
+#endif