TARGET_J2EE fixes
[mono.git] / mcs / class / System.Web / System.Web.SessionState / ChangeLog
index 26c9a38feb2ebbe6e7cba4f233e88390757d2bc6..5390396810deb9d1ef2914c1aa60a2011215b3e5 100644 (file)
@@ -1,3 +1,252 @@
+2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
+       * HttpSessionState.jvm.cs - fixed serialization when we want to serialize
+         an empty session.
+
+2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs: Only invoke the End event using the new method
+       in HttpApplicationFactory and when session state mode is InProc.
+
+2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
+       * SessionStateModule.cs: Under TARGET_J2EE we let the J2EE app server handle
+         session persistence, so we don't support SQL/Remoting session servers
+         at the ASP.Net level.
+
+2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs: added lock around 'config'.
+       * SessionInProcHandler.cs: when inserting in the the session in the
+       Cache, use sliding expiration only.  
+
+2005-08-15  Miguel de Icaza  <miguel@novell.com>
+
+       * SessionStateModule.cs: Make this use the synch api as the module
+       was synchronous anyways
+
+2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionInProcHandler.cs: use cache.InsertPrivate.
+       * SessionDictionary.cs: fix typo that made Clone 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).
+
+2005-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * RemoteStateServer.cs:
+       * HttpSessionState.cs:
+       * SessionSQLServerHandler.cs:
+       * SessionInProcHandler.cs:
+       * SessionStateServerHandler.cs: remove abandoned sessions in the 
+       ReleseRequest state. Fixes bug #75051.
+
+2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs: removed warnigs.
+
+2005-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs:
+       * SessionId.cs: share the same RNG for all the instances of
+       SessionStateModule.
+
+2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs: hack that makes static files work on sites that
+       use the Session object in global.asax. You need to set
+       MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit 
+       of performance when serving static files. Fixes bug #71133.
+
+2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs: set the path modifier when using cookie-less
+       sessions.
+
+2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionStateModule.cs: use SetCurrentExePath instead of SetFilePath.
+
+2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpSessionState.cs: don't share static session objects declared in
+       the application file across the application, but on a per-session
+       basis. Fixes bug #65446.
+
+2004-08-31  Sanjay Gupta <gsanjay@novell.com>
+
+       * SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not 
+       required in definition.
+
+2004-08-09  Sanjay Gupta <gsanjay@novell.com>
+
+       * SessionStateItemExpireCallback.cs: Added delegate.
+       * SessionStateStoreData.cs: Added a new class.
+
+2004-08-05  Sanjay Gupta <gsanjay@novell.com>
+
+       * IHttpSessionState.cs: 
+       * ISessionIDModule.cs:
+       * ISessionStateItemCollection.cs: Added new interfaces.
+
+2004-08-04  Sanjay Gupta <gsanjay@novell.com>
+
+       * SessionStateActionFlags.cs: Added enumeration.
+
+2004-07-07  Juraj Skripsky <juraj@hotfeet.ch>
+
+       * SessionStateModule.cs: set path in session cookie to application
+       path.
+
+2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * IStateRuntime.cs: added missing marshalling attributes
+
+2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs:
+       * ISessionHandler.cs: added new parameter to Init.
+
+       * SessionInProcHandler.cs: use the HttpRuntime cache to store the
+       sessions and handle expiration.
+
+       * SessionStateModule.cs: added OnSessionRemoved internal method that is
+       called whenever a session expires or is removed.
+
+2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpSessionState.cs: added Clone (), which makes and exact copy but
+       with a cloned SessionDictionary. When EnableSessionState is set to
+       ReadOnly, we can modify the collection, but changes are not propagated.
+
+       * ISessionHandler.cs: changed signature of UpdateContext().
+
+       * SessionDictionary.cs: added Clone.
+
+       * SessionInProcHandler.cs:
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs: don't create a new session if the
+       handler do not require it. UpdateContext() now returns an
+       HttpSessionState to the module.
+
+       * SessionStateModule.cs: removed IsReadOnly as it is now passed as a 
+       parameter to the session handler. If the session is read-only, clone
+       it so that it can be changed but changes are not kept.
+
+       In short, we don't create session objects when not required and we
+       honor the ReadOnly sessions.
+
+2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SessionInProcHandler.cs:
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs: when creating the
+       HttpSessionStateObjets, use the session objects that we know about
+       in HttpApplicationFactory.
+
+2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpSessionState.cs:
+       * SessionInProcHandler.cs: IsNewSession doesn't have a public setter.
+
+       * SessionStateModule.cs: doesn't implement IRequiresSessionState.
+       * StateServerItem.cs: not public.
+
+2004-01-05  Alon Gazit <along@mainsoft.com>
+
+       * SessionDictionary.cs: can't set item's value to null if the item is
+       new.
+
+2003-12-25  Jackson Harper <jackson@ximian.com>
+
+       * SessionStateModule.cs: Handle SessionStateMode.Off properly in
+       Init. Only set session cookies if a new session is created. This
+       fixes bug #52501.
+       
+2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * IStateRuntime.cs:
+       * SessionStateModule.cs: class status based fixes.
+
+2003-12-05  Jackson Harper <jackson@ximian.com>
+
+       * SessionStateModule.cs: Add readonly property for readonly
+       sessions. This fixes bug #51647.
+       * SessionInProcHandler.cs:
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs: Cleanup params for
+       HttpSessionState ctor. Make sure to always set is new, cookieless,
+       and readonly properly.
+       
+2003-12-03  Jackson Harper <jackson@ximian.com>
+
+       * SessionStateModule.cs: If using cookieless sessions add an
+       onbegin request handler that parsers out session ids and rewrites
+       the path. Also redirect to a url with an embedded session id if we
+       are creating a new cookieless session.
+       * SesionInProcHandler.cs:
+       * SessionSQLServerHandler.cs:
+       * SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
+       ids, don't set the session id cookie anymore. That is handled by
+       the SessionStateModule.
+       * SessionId.cs: Add method for looking up session ids, add some constants.
+       
+2003-11-26  Jackson Harper <jackson@ximian.com>
+
+       * SessionSQLServerHandler.cs: Fix typo in param name.
+       
+2003-11-25  Jackson Harper <jackson@ximian.com>
+
+       * RemoteStateServer.cs: Update the session dictionary data and the
+       static objects data.
+       * SessionDictionary.cs: Remove type serialization methods, these
+       have been moved to a utility class. Add convenience methods for
+       converting to/from byte arrays.
+       * SessionSQLServerHandler.cs: 
+       * SessionStateServerHandler.cs: Save/Restore static objects. Use new
+       to/from byte array methods.
+       * StateServerItem.cs: Hold static objects data.
+       
+2003-11-24  Jackson Harper <jackson@ximian.com>
+
+       * SessionStateServerHandler.cs: Parse connection string. Need to
+       look into what MS allows/doesn't allow better.
+       
+2003-11-24  Jackson Harper <jackson@ximian.com>
+
+       * RemoteStateServer.cs: The state server object that will reside
+       on the server and store session data and ids.
+       * StateServerItem.cs: Container for session data.
+       * SessionStateServerHandler.cs: Handler that communicates with the
+       StateServer so sessions can be stored out of process.
+       * SessionStateModule.cs: Allow state server mode.
+       
+2003-11-13  Jackson Harper <jackson@ximian.com>
+
+       * SessionInProcHandler.cs: Use AppDomain.SetData so data is
+       available across all threads. Set the path of session id
+       cookies. Patch by Mohammad DAMT. Fixes bug #50922.
+        
+2003-11-06 Jackson Harper <jackson@ximian.com>
+
+       * ISessionHandler.cs: Pass the SessionStateModule to handlers when
+       updating.
+       * SessionSqlServerHandler.cs:
+       * SessionInProcHandler.cs: Accept SessionStateModule when
+       updating. Use new SessionId.Create method for creating session
+       ids.
+       * SessionStateModule.cs: Add a random number generator that will
+       be used for creating session ids. Pass this to handlers when
+       updating.
+       * SessionId.cs: New class for creating session ids.
+       
 2003-11-03 Jackson Harper <jackson@ximian.com>
 
        * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by Yaron Shkop.