Author: gonzalo
Date: 2005-06-25 16:49:31 -0400 (Sat, 25 Jun 2005)
New Revision: 46509
Modified:
trunk/mcs/class/System.Web/System.Web.SessionState/ChangeLog
trunk/mcs/class/System.Web/System.Web.SessionState/SessionDictionary.cs
trunk/mcs/class/System.Web/System.Web.SessionState/SessionInProcHandler.cs
Log:
2005-06-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* SessionInProcHandler.cs: use cache.InsertPrivate.
* SessionDictionary.cs: fix typo that made Close useless.
Modified: trunk/mcs/class/System.Web/System.Web.SessionState/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.SessionState/ChangeLog
2005-06-25 20:47:41 UTC (rev 46508)
+++ trunk/mcs/class/System.Web/System.Web.SessionState/ChangeLog
2005-06-25 20:49:31 UTC (rev 46509)
@@ -1,12 +1,17 @@
+2005-06-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * SessionInProcHandler.cs: use cache.InsertPrivate.
+ * SessionDictionary.cs: fix typo that made Close useless.
+
2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
- * SessionStateMode.cs: Added TARGET_J2EE directive in order
- to provide in J2EE configuration additional mode - J2EE
- * SessionStateModule.cs: Added TARGET_JVM directives in order
- to resolve unsupported in Ghrasshopper "static variables" issue
- (When static variable are stored in general place, instead of
- storing such variables per AppDomain).
-
+ * SessionStateMode.cs: Added TARGET_J2EE directive in order
+ to provide in J2EE configuration additional mode - J2EE
+ * SessionStateModule.cs: Added TARGET_JVM directives in order
+ to resolve unsupported in Ghrasshopper "static variables" issue
+ (When static variable are stored in general place, instead of
+ storing such variables per AppDomain).
+
2005-05-27 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* RemoteStateServer.cs:
Modified:
trunk/mcs/class/System.Web/System.Web.SessionState/SessionDictionary.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.SessionState/SessionDictionary.cs
2005-06-25 20:47:41 UTC (rev 46508)
+++ trunk/mcs/class/System.Web/System.Web.SessionState/SessionDictionary.cs
2005-06-25 20:49:31 UTC (rev 46509)
@@ -45,7 +45,7 @@
internal SessionDictionary Clone ()
{
SessionDictionary sess = new SessionDictionary ();
- int last = sess.Count;
+ int last = Count;
for (int i = 0; i < last; i++) {
string key = GetKey (i);
sess [key] = this [key];
Modified:
trunk/mcs/class/System.Web/System.Web.SessionState/SessionInProcHandler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.SessionState/SessionInProcHandler.cs
2005-06-25 20:47:41 UTC (rev 46508)
+++ trunk/mcs/class/System.Web/System.Web.SessionState/SessionInProcHandler.cs
2005-06-25 20:49:31 UTC (rev 46509)
@@ -87,7 +87,7 @@
read_only); //readonly
TimeSpan timeout = new TimeSpan (0, config.Timeout, 0);
- cache.Insert ("@@@InProc@" + sessionID, state, null,
DateTime.Now + timeout,
+ cache.InsertPrivate ("@@@InProc@" + sessionID, state,
null, DateTime.Now + timeout,
timeout, CacheItemPriority.AboveNormal,
removedCB);
isNew = true;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches