TARGET_J2EE compilation & integration fixes.
[mono.git] / mcs / class / System.Web / System.Web.SessionState / ChangeLog
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.
5
6 2005-07-18  Eyal Alalouf  <eyala@mainsoft.com>
7         * Added HttpSessionState.jvm.cs
8         * Added SessionInProcHandler.jvm.cs
9
10 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11
12         * SessionInProcHandler.cs: use cache.InsertPrivate.
13         * SessionDictionary.cs: fix typo that made Clone useless.
14
15 2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
16
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).
23
24 2005-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
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.
32
33 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
34
35         * SessionSQLServerHandler.cs:
36         * SessionStateServerHandler.cs: removed warnigs.
37
38 2005-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39
40         * SessionStateModule.cs:
41         * SessionId.cs: share the same RNG for all the instances of
42         SessionStateModule.
43
44 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45
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.
50
51 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52
53         * SessionStateModule.cs: set the path modifier when using cookie-less
54         sessions.
55
56 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
57
58         * SessionStateModule.cs: use SetCurrentExePath instead of SetFilePath.
59
60 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61
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.
65
66 2004-08-31  Sanjay Gupta <gsanjay@novell.com>
67
68         * SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not 
69         required in definition.
70
71 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
72
73         * SessionStateItemExpireCallback.cs: Added delegate.
74         * SessionStateStoreData.cs: Added a new class.
75
76 2004-08-05  Sanjay Gupta <gsanjay@novell.com>
77
78         * IHttpSessionState.cs: 
79         * ISessionIDModule.cs:
80         * ISessionStateItemCollection.cs: Added new interfaces.
81
82 2004-08-04  Sanjay Gupta <gsanjay@novell.com>
83
84         * SessionStateActionFlags.cs: Added enumeration.
85
86 2004-07-07  Juraj Skripsky <juraj@hotfeet.ch>
87
88         * SessionStateModule.cs: set path in session cookie to application
89         path.
90
91 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
92
93         * IStateRuntime.cs: added missing marshalling attributes
94
95 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * SessionSQLServerHandler.cs:
98         * SessionStateServerHandler.cs:
99         * ISessionHandler.cs: added new parameter to Init.
100
101         * SessionInProcHandler.cs: use the HttpRuntime cache to store the
102         sessions and handle expiration.
103
104         * SessionStateModule.cs: added OnSessionRemoved internal method that is
105         called whenever a session expires or is removed.
106
107 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
108
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.
112
113         * ISessionHandler.cs: changed signature of UpdateContext().
114
115         * SessionDictionary.cs: added Clone.
116
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.
122
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.
126
127         In short, we don't create session objects when not required and we
128         honor the ReadOnly sessions.
129
130 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
131
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.
137
138 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
139
140         * HttpSessionState.cs:
141         * SessionInProcHandler.cs: IsNewSession doesn't have a public setter.
142
143         * SessionStateModule.cs: doesn't implement IRequiresSessionState.
144         * StateServerItem.cs: not public.
145
146 2004-01-05  Alon Gazit <along@mainsoft.com>
147
148         * SessionDictionary.cs: can't set item's value to null if the item is
149         new.
150
151 2003-12-25  Jackson Harper <jackson@ximian.com>
152
153         * SessionStateModule.cs: Handle SessionStateMode.Off properly in
154         Init. Only set session cookies if a new session is created. This
155         fixes bug #52501.
156         
157 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * IStateRuntime.cs:
160         * SessionStateModule.cs: class status based fixes.
161
162 2003-12-05  Jackson Harper <jackson@ximian.com>
163
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.
171         
172 2003-12-03  Jackson Harper <jackson@ximian.com>
173
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.
184         
185 2003-11-26  Jackson Harper <jackson@ximian.com>
186
187         * SessionSQLServerHandler.cs: Fix typo in param name.
188         
189 2003-11-25  Jackson Harper <jackson@ximian.com>
190
191         * RemoteStateServer.cs: Update the session dictionary data and the
192         static objects data.
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.
200         
201 2003-11-24  Jackson Harper <jackson@ximian.com>
202
203         * SessionStateServerHandler.cs: Parse connection string. Need to
204         look into what MS allows/doesn't allow better.
205         
206 2003-11-24  Jackson Harper <jackson@ximian.com>
207
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.
214         
215 2003-11-13  Jackson Harper <jackson@ximian.com>
216
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.
220          
221 2003-11-06 Jackson Harper <jackson@ximian.com>
222
223         * ISessionHandler.cs: Pass the SessionStateModule to handlers when
224         updating.
225         * SessionSqlServerHandler.cs:
226         * SessionInProcHandler.cs: Accept SessionStateModule when
227         updating. Use new SessionId.Create method for creating session
228         ids.
229         * SessionStateModule.cs: Add a random number generator that will
230         be used for creating session ids. Pass this to handlers when
231         updating.
232         * SessionId.cs: New class for creating session ids.
233         
234 2003-11-03 Jackson Harper <jackson@ximian.com>
235
236         * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by Yaron Shkop.
237         
238 2003-11-03 Jackson Harper <jackson@ximian.com>
239
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
243         initializing.
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.
253         
254 2003-10-28 Jackson Harper <jackson@ximian.com>
255
256         * HttpSessionState.cs: Do not allow timeout to be set to less then
257         one.
258         
259 2003-10-28 Jackson Harper <jackson@ximian.com>
260
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.
264         
265 2003-10-13 Ben Maurer  <bmaurer@users.sourceforge.net>
266
267         * SessionStateModule.cs: prevent Context.State from being null if
268         the module is inited in another HttpApplication. Fixes #49569.
269
270 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
271
272         * IStateRuntime.cs: New interface class
273         * StateRuntime.cs: New class - stubbed out
274
275 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
276
277         * SessionInProcHandler.cs: Made these internal to fix signature and building CLS-compliant
278
279 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
280
281         * SessionDictionary.cs: locking.
282
283         * SessionInProcHandler.cs: use the new method instead of the setter.
284
285 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
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.
291
292 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
293
294         * SessionStateModule.cs: fire application start and session start/end
295         events.
296
297 2003-03-31  Stefan Görling <stefan@gorling.se>
298
299         * HttpSessionState.cs:
300         * ISessionHandler.cs:
301         * SessionInProcHandler.cs:
302         * SessionStateModule.cs: initial implementation of InProc session.
303
304 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
305
306         * HttpSessionState.cs: implemented CodePage.
307
308         * SessionStateModule.cs: initial stuff to make it work.
309
310 2003-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
311
312         * HttpSessionState.cs: reworked to use SessionDictionary.
313         * SessionDictionary.cs: implemented serialization/deserialization.
314
315 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
316
317         * SessionConfig.cs:
318         * SessionStateSectionHandler.cs: new files to read <sessionState>
319         configuration.
320
321 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
322
323         * SessionStateModule.cs: don't throw exception.  Just for testing the
324         configuration stuff until we implement this.
325
326 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
327
328         * HttpSessionState.cs: IsAbandoned is internal.
329         * SessionDictionary.cs: scope fixes.
330         * SessionStateModule.cs: added events.
331
332 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
333
334         * System.Web.SessionState/HttpSessionState.cs: 
335         Fixes based on class status page:
336         
337                 - Add attributes (DefaultEvent, ParseChildren).
338                 - Fix declarations.
339                 - Explicitly implement some interfaces (IPostBackDataHandler
340                 and IPostBackEventHandler).
341                 - Implemented some missing methods.
342
343 2002-06-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
344
345         * HttpSessionState.cs: implemented more methods/properties.
346         * SessionDictionary.cs: New file.
347
348 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
349
350         * System.Web.SessionState/HttpSessionState.cs:
351         * System.Web.SessionState/SessionStateModule.cs: new files with some
352         implementation and the rest stubbed.
353
354 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
355
356         * IReadOnlySessionState.cs:
357         * IRequiresSessionState.cs:
358         * SessionStateMode.cs: new files.
359