1 2005-07-19 Eyal Alalouf <eyala@mainsoft.com>
2 * SessionStateModule.cs: In TARGET_J2EE configuration the servlet container
3 is reponsible for session management. So we don't support the .Net session
4 state server or .Net storing sessions in SQLServer.
6 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
7 * Added HttpSessionState.jvm.cs
8 * Added SessionInProcHandler.jvm.cs
10 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12 * SessionInProcHandler.cs: use cache.InsertPrivate.
13 * SessionDictionary.cs: fix typo that made Clone useless.
15 2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
17 * SessionStateMode.cs: Added TARGET_J2EE directive in order
18 to provide in J2EE configuration additional mode - J2EE
19 * SessionStateModule.cs: Added TARGET_JVM directives in order
20 to resolve unsupported in Ghrasshopper "static variables" issue
21 (When static variable are stored in general place, instead of
22 storing such variables per AppDomain).
24 2005-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
26 * RemoteStateServer.cs:
27 * HttpSessionState.cs:
28 * SessionSQLServerHandler.cs:
29 * SessionInProcHandler.cs:
30 * SessionStateServerHandler.cs: remove abandoned sessions in the
31 ReleseRequest state. Fixes bug #75051.
33 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
35 * SessionSQLServerHandler.cs:
36 * SessionStateServerHandler.cs: removed warnigs.
38 2005-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
40 * SessionStateModule.cs:
41 * SessionId.cs: share the same RNG for all the instances of
44 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46 * SessionStateModule.cs: hack that makes static files work on sites that
47 use the Session object in global.asax. You need to set
48 MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit
49 of performance when serving static files. Fixes bug #71133.
51 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
53 * SessionStateModule.cs: set the path modifier when using cookie-less
56 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58 * SessionStateModule.cs: use SetCurrentExePath instead of SetFilePath.
60 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
62 * HttpSessionState.cs: don't share static session objects declared in
63 the application file across the application, but on a per-session
64 basis. Fixes bug #65446.
66 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
68 * SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not
69 required in definition.
71 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
73 * SessionStateItemExpireCallback.cs: Added delegate.
74 * SessionStateStoreData.cs: Added a new class.
76 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
78 * IHttpSessionState.cs:
79 * ISessionIDModule.cs:
80 * ISessionStateItemCollection.cs: Added new interfaces.
82 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
84 * SessionStateActionFlags.cs: Added enumeration.
86 2004-07-07 Juraj Skripsky <juraj@hotfeet.ch>
88 * SessionStateModule.cs: set path in session cookie to application
91 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
93 * IStateRuntime.cs: added missing marshalling attributes
95 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
97 * SessionSQLServerHandler.cs:
98 * SessionStateServerHandler.cs:
99 * ISessionHandler.cs: added new parameter to Init.
101 * SessionInProcHandler.cs: use the HttpRuntime cache to store the
102 sessions and handle expiration.
104 * SessionStateModule.cs: added OnSessionRemoved internal method that is
105 called whenever a session expires or is removed.
107 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109 * HttpSessionState.cs: added Clone (), which makes and exact copy but
110 with a cloned SessionDictionary. When EnableSessionState is set to
111 ReadOnly, we can modify the collection, but changes are not propagated.
113 * ISessionHandler.cs: changed signature of UpdateContext().
115 * SessionDictionary.cs: added Clone.
117 * SessionInProcHandler.cs:
118 * SessionSQLServerHandler.cs:
119 * SessionStateServerHandler.cs: don't create a new session if the
120 handler do not require it. UpdateContext() now returns an
121 HttpSessionState to the module.
123 * SessionStateModule.cs: removed IsReadOnly as it is now passed as a
124 parameter to the session handler. If the session is read-only, clone
125 it so that it can be changed but changes are not kept.
127 In short, we don't create session objects when not required and we
128 honor the ReadOnly sessions.
130 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 * SessionInProcHandler.cs:
133 * SessionSQLServerHandler.cs:
134 * SessionStateServerHandler.cs: when creating the
135 HttpSessionStateObjets, use the session objects that we know about
136 in HttpApplicationFactory.
138 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * HttpSessionState.cs:
141 * SessionInProcHandler.cs: IsNewSession doesn't have a public setter.
143 * SessionStateModule.cs: doesn't implement IRequiresSessionState.
144 * StateServerItem.cs: not public.
146 2004-01-05 Alon Gazit <along@mainsoft.com>
148 * SessionDictionary.cs: can't set item's value to null if the item is
151 2003-12-25 Jackson Harper <jackson@ximian.com>
153 * SessionStateModule.cs: Handle SessionStateMode.Off properly in
154 Init. Only set session cookies if a new session is created. This
157 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * SessionStateModule.cs: class status based fixes.
162 2003-12-05 Jackson Harper <jackson@ximian.com>
164 * SessionStateModule.cs: Add readonly property for readonly
165 sessions. This fixes bug #51647.
166 * SessionInProcHandler.cs:
167 * SessionSQLServerHandler.cs:
168 * SessionStateServerHandler.cs: Cleanup params for
169 HttpSessionState ctor. Make sure to always set is new, cookieless,
170 and readonly properly.
172 2003-12-03 Jackson Harper <jackson@ximian.com>
174 * SessionStateModule.cs: If using cookieless sessions add an
175 onbegin request handler that parsers out session ids and rewrites
176 the path. Also redirect to a url with an embedded session id if we
177 are creating a new cookieless session.
178 * SesionInProcHandler.cs:
179 * SessionSQLServerHandler.cs:
180 * SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
181 ids, don't set the session id cookie anymore. That is handled by
182 the SessionStateModule.
183 * SessionId.cs: Add method for looking up session ids, add some constants.
185 2003-11-26 Jackson Harper <jackson@ximian.com>
187 * SessionSQLServerHandler.cs: Fix typo in param name.
189 2003-11-25 Jackson Harper <jackson@ximian.com>
191 * RemoteStateServer.cs: Update the session dictionary data and the
193 * SessionDictionary.cs: Remove type serialization methods, these
194 have been moved to a utility class. Add convenience methods for
195 converting to/from byte arrays.
196 * SessionSQLServerHandler.cs:
197 * SessionStateServerHandler.cs: Save/Restore static objects. Use new
198 to/from byte array methods.
199 * StateServerItem.cs: Hold static objects data.
201 2003-11-24 Jackson Harper <jackson@ximian.com>
203 * SessionStateServerHandler.cs: Parse connection string. Need to
204 look into what MS allows/doesn't allow better.
206 2003-11-24 Jackson Harper <jackson@ximian.com>
208 * RemoteStateServer.cs: The state server object that will reside
209 on the server and store session data and ids.
210 * StateServerItem.cs: Container for session data.
211 * SessionStateServerHandler.cs: Handler that communicates with the
212 StateServer so sessions can be stored out of process.
213 * SessionStateModule.cs: Allow state server mode.
215 2003-11-13 Jackson Harper <jackson@ximian.com>
217 * SessionInProcHandler.cs: Use AppDomain.SetData so data is
218 available across all threads. Set the path of session id
219 cookies. Patch by Mohammad DAMT. Fixes bug #50922.
221 2003-11-06 Jackson Harper <jackson@ximian.com>
223 * ISessionHandler.cs: Pass the SessionStateModule to handlers when
225 * SessionSqlServerHandler.cs:
226 * SessionInProcHandler.cs: Accept SessionStateModule when
227 updating. Use new SessionId.Create method for creating session
229 * SessionStateModule.cs: Add a random number generator that will
230 be used for creating session ids. Pass this to handlers when
232 * SessionId.cs: New class for creating session ids.
234 2003-11-03 Jackson Harper <jackson@ximian.com>
236 * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by Yaron Shkop.
238 2003-11-03 Jackson Harper <jackson@ximian.com>
240 * HttpSessionState.cs: Make the SessionDictionary accessable
241 * ISessionHandler.cs: Add method to update the session state
242 data in the handler. Pass the session config to handlers when
244 * SessionConfig.cs: Add StateNetworkTimeout
245 * SessionInProcHandler.cs: Updates because interface has
246 changed, all functionality is the same.
247 * SessionStateModule.cs: Get new config items, allow SQLServer
248 session manager type. Update session handlers when the session
249 state has been released.
250 * SessionStateSectionHandler.cs: Add StateNetworkTimeout
251 * SessionSQLServerHandler.cs: New class allows sessions to be
252 stored in a database.
254 2003-10-28 Jackson Harper <jackson@ximian.com>
256 * HttpSessionState.cs: Do not allow timeout to be set to less then
259 2003-10-28 Jackson Harper <jackson@ximian.com>
261 * SessionInProcHandler.cs: Compute timeouts
262 correctly. DateTime.Milliseconds is the just the milliseconds part
263 of the time, it is not the entire time as milliseconds.
265 2003-10-13 Ben Maurer <bmaurer@users.sourceforge.net>
267 * SessionStateModule.cs: prevent Context.State from being null if
268 the module is inited in another HttpApplication. Fixes #49569.
270 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
272 * IStateRuntime.cs: New interface class
273 * StateRuntime.cs: New class - stubbed out
275 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
277 * SessionInProcHandler.cs: Made these internal to fix signature and building CLS-compliant
279 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
281 * SessionDictionary.cs: locking.
283 * SessionInProcHandler.cs: use the new method instead of the setter.
285 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * ISessionHandler.cs:
288 * SessionInProcHandler.cs:
289 * SessionStateModule.cs: UpdateContext returns a bool indicating if we
290 started a new session. Only call session start event if that is true.
292 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * SessionStateModule.cs: fire application start and session start/end
297 2003-03-31 Stefan Görling <stefan@gorling.se>
299 * HttpSessionState.cs:
300 * ISessionHandler.cs:
301 * SessionInProcHandler.cs:
302 * SessionStateModule.cs: initial implementation of InProc session.
304 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * HttpSessionState.cs: implemented CodePage.
308 * SessionStateModule.cs: initial stuff to make it work.
310 2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312 * HttpSessionState.cs: reworked to use SessionDictionary.
313 * SessionDictionary.cs: implemented serialization/deserialization.
315 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318 * SessionStateSectionHandler.cs: new files to read <sessionState>
321 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 * SessionStateModule.cs: don't throw exception. Just for testing the
324 configuration stuff until we implement this.
326 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
328 * HttpSessionState.cs: IsAbandoned is internal.
329 * SessionDictionary.cs: scope fixes.
330 * SessionStateModule.cs: added events.
332 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * System.Web.SessionState/HttpSessionState.cs:
335 Fixes based on class status page:
337 - Add attributes (DefaultEvent, ParseChildren).
339 - Explicitly implement some interfaces (IPostBackDataHandler
340 and IPostBackEventHandler).
341 - Implemented some missing methods.
343 2002-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * HttpSessionState.cs: implemented more methods/properties.
346 * SessionDictionary.cs: New file.
348 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
350 * System.Web.SessionState/HttpSessionState.cs:
351 * System.Web.SessionState/SessionStateModule.cs: new files with some
352 implementation and the rest stubbed.
354 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
356 * IReadOnlySessionState.cs:
357 * IRequiresSessionState.cs:
358 * SessionStateMode.cs: new files.