2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.SessionState / ChangeLog
1 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * SessionStateModule.cs: hack that makes static files work on sites that
4         use the Session object in global.asax. You need to set
5         MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit 
6         of performance when serving static files. Fixes bug #71133.
7
8 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9
10         * SessionStateModule.cs: set the path modifier when using cookie-less
11         sessions.
12
13 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14
15         * SessionStateModule.cs: use SetCurrentExePath instead of SetFilePath.
16
17 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * HttpSessionState.cs: don't share static session objects declared in
20         the application file across the application, but on a per-session
21         basis. Fixes bug #65446.
22
23 2004-08-31  Sanjay Gupta <gsanjay@novell.com>
24
25         * SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not 
26         required in definition.
27
28 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
29
30         * SessionStateItemExpireCallback.cs: Added delegate.
31         * SessionStateStoreData.cs: Added a new class.
32
33 2004-08-05  Sanjay Gupta <gsanjay@novell.com>
34
35         * IHttpSessionState.cs: 
36         * ISessionIDModule.cs:
37         * ISessionStateItemCollection.cs: Added new interfaces.
38
39 2004-08-04  Sanjay Gupta <gsanjay@novell.com>
40
41         * SessionStateActionFlags.cs: Added enumeration.
42
43 2004-07-07  Juraj Skripsky <juraj@hotfeet.ch>
44
45         * SessionStateModule.cs: set path in session cookie to application
46         path.
47
48 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
49
50         * IStateRuntime.cs: added missing marshalling attributes
51
52 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
53
54         * SessionSQLServerHandler.cs:
55         * SessionStateServerHandler.cs:
56         * ISessionHandler.cs: added new parameter to Init.
57
58         * SessionInProcHandler.cs: use the HttpRuntime cache to store the
59         sessions and handle expiration.
60
61         * SessionStateModule.cs: added OnSessionRemoved internal method that is
62         called whenever a session expires or is removed.
63
64 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
65
66         * HttpSessionState.cs: added Clone (), which makes and exact copy but
67         with a cloned SessionDictionary. When EnableSessionState is set to
68         ReadOnly, we can modify the collection, but changes are not propagated.
69
70         * ISessionHandler.cs: changed signature of UpdateContext().
71
72         * SessionDictionary.cs: added Clone.
73
74         * SessionInProcHandler.cs:
75         * SessionSQLServerHandler.cs:
76         * SessionStateServerHandler.cs: don't create a new session if the
77         handler do not require it. UpdateContext() now returns an
78         HttpSessionState to the module.
79
80         * SessionStateModule.cs: removed IsReadOnly as it is now passed as a 
81         parameter to the session handler. If the session is read-only, clone
82         it so that it can be changed but changes are not kept.
83
84         In short, we don't create session objects when not required and we
85         honor the ReadOnly sessions.
86
87 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * SessionInProcHandler.cs:
90         * SessionSQLServerHandler.cs:
91         * SessionStateServerHandler.cs: when creating the
92         HttpSessionStateObjets, use the session objects that we know about
93         in HttpApplicationFactory.
94
95 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * HttpSessionState.cs:
98         * SessionInProcHandler.cs: IsNewSession doesn't have a public setter.
99
100         * SessionStateModule.cs: doesn't implement IRequiresSessionState.
101         * StateServerItem.cs: not public.
102
103 2004-01-05  Alon Gazit <along@mainsoft.com>
104
105         * SessionDictionary.cs: can't set item's value to null if the item is
106         new.
107
108 2003-12-25  Jackson Harper <jackson@ximian.com>
109
110         * SessionStateModule.cs: Handle SessionStateMode.Off properly in
111         Init. Only set session cookies if a new session is created. This
112         fixes bug #52501.
113         
114 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
115
116         * IStateRuntime.cs:
117         * SessionStateModule.cs: class status based fixes.
118
119 2003-12-05  Jackson Harper <jackson@ximian.com>
120
121         * SessionStateModule.cs: Add readonly property for readonly
122         sessions. This fixes bug #51647.
123         * SessionInProcHandler.cs:
124         * SessionSQLServerHandler.cs:
125         * SessionStateServerHandler.cs: Cleanup params for
126         HttpSessionState ctor. Make sure to always set is new, cookieless,
127         and readonly properly.
128         
129 2003-12-03  Jackson Harper <jackson@ximian.com>
130
131         * SessionStateModule.cs: If using cookieless sessions add an
132         onbegin request handler that parsers out session ids and rewrites
133         the path. Also redirect to a url with an embedded session id if we
134         are creating a new cookieless session.
135         * SesionInProcHandler.cs:
136         * SessionSQLServerHandler.cs:
137         * SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
138         ids, don't set the session id cookie anymore. That is handled by
139         the SessionStateModule.
140         * SessionId.cs: Add method for looking up session ids, add some constants.
141         
142 2003-11-26  Jackson Harper <jackson@ximian.com>
143
144         * SessionSQLServerHandler.cs: Fix typo in param name.
145         
146 2003-11-25  Jackson Harper <jackson@ximian.com>
147
148         * RemoteStateServer.cs: Update the session dictionary data and the
149         static objects data.
150         * SessionDictionary.cs: Remove type serialization methods, these
151         have been moved to a utility class. Add convenience methods for
152         converting to/from byte arrays.
153         * SessionSQLServerHandler.cs: 
154         * SessionStateServerHandler.cs: Save/Restore static objects. Use new
155         to/from byte array methods.
156         * StateServerItem.cs: Hold static objects data.
157         
158 2003-11-24  Jackson Harper <jackson@ximian.com>
159
160         * SessionStateServerHandler.cs: Parse connection string. Need to
161         look into what MS allows/doesn't allow better.
162         
163 2003-11-24  Jackson Harper <jackson@ximian.com>
164
165         * RemoteStateServer.cs: The state server object that will reside
166         on the server and store session data and ids.
167         * StateServerItem.cs: Container for session data.
168         * SessionStateServerHandler.cs: Handler that communicates with the
169         StateServer so sessions can be stored out of process.
170         * SessionStateModule.cs: Allow state server mode.
171         
172 2003-11-13  Jackson Harper <jackson@ximian.com>
173
174         * SessionInProcHandler.cs: Use AppDomain.SetData so data is
175         available across all threads. Set the path of session id
176         cookies. Patch by Mohammad DAMT. Fixes bug #50922.
177          
178 2003-11-06 Jackson Harper <jackson@ximian.com>
179
180         * ISessionHandler.cs: Pass the SessionStateModule to handlers when
181         updating.
182         * SessionSqlServerHandler.cs:
183         * SessionInProcHandler.cs: Accept SessionStateModule when
184         updating. Use new SessionId.Create method for creating session
185         ids.
186         * SessionStateModule.cs: Add a random number generator that will
187         be used for creating session ids. Pass this to handlers when
188         updating.
189         * SessionId.cs: New class for creating session ids.
190         
191 2003-11-03 Jackson Harper <jackson@ximian.com>
192
193         * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by Yaron Shkop.
194         
195 2003-11-03 Jackson Harper <jackson@ximian.com>
196
197         * HttpSessionState.cs: Make the SessionDictionary accessable
198         * ISessionHandler.cs: Add method to update the session state
199         data in the handler. Pass the session config to handlers when
200         initializing.
201         * SessionConfig.cs: Add StateNetworkTimeout
202         * SessionInProcHandler.cs: Updates because interface has
203         changed, all functionality is the same.
204         * SessionStateModule.cs: Get new config items, allow SQLServer
205         session manager type. Update session handlers when the session
206         state has been released.
207         * SessionStateSectionHandler.cs: Add StateNetworkTimeout
208         * SessionSQLServerHandler.cs: New class allows sessions to be
209         stored in a database.
210         
211 2003-10-28 Jackson Harper <jackson@ximian.com>
212
213         * HttpSessionState.cs: Do not allow timeout to be set to less then
214         one.
215         
216 2003-10-28 Jackson Harper <jackson@ximian.com>
217
218         * SessionInProcHandler.cs: Compute timeouts
219         correctly. DateTime.Milliseconds is the just the milliseconds part
220         of the time, it is not the entire time as milliseconds.
221         
222 2003-10-13 Ben Maurer  <bmaurer@users.sourceforge.net>
223
224         * SessionStateModule.cs: prevent Context.State from being null if
225         the module is inited in another HttpApplication. Fixes #49569.
226
227 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
228
229         * IStateRuntime.cs: New interface class
230         * StateRuntime.cs: New class - stubbed out
231
232 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
233
234         * SessionInProcHandler.cs: Made these internal to fix signature and building CLS-compliant
235
236 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
237
238         * SessionDictionary.cs: locking.
239
240         * SessionInProcHandler.cs: use the new method instead of the setter.
241
242 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
243
244         * ISessionHandler.cs:
245         * SessionInProcHandler.cs:
246         * SessionStateModule.cs: UpdateContext returns a bool indicating if we
247         started a new session. Only call session start event if that is true.
248
249 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
250
251         * SessionStateModule.cs: fire application start and session start/end
252         events.
253
254 2003-03-31  Stefan Görling <stefan@gorling.se>
255
256         * HttpSessionState.cs:
257         * ISessionHandler.cs:
258         * SessionInProcHandler.cs:
259         * SessionStateModule.cs: initial implementation of InProc session.
260
261 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
262
263         * HttpSessionState.cs: implemented CodePage.
264
265         * SessionStateModule.cs: initial stuff to make it work.
266
267 2003-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
268
269         * HttpSessionState.cs: reworked to use SessionDictionary.
270         * SessionDictionary.cs: implemented serialization/deserialization.
271
272 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * SessionConfig.cs:
275         * SessionStateSectionHandler.cs: new files to read <sessionState>
276         configuration.
277
278 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
279
280         * SessionStateModule.cs: don't throw exception.  Just for testing the
281         configuration stuff until we implement this.
282
283 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
284
285         * HttpSessionState.cs: IsAbandoned is internal.
286         * SessionDictionary.cs: scope fixes.
287         * SessionStateModule.cs: added events.
288
289 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
290
291         * System.Web.SessionState/HttpSessionState.cs: 
292         Fixes based on class status page:
293         
294                 - Add attributes (DefaultEvent, ParseChildren).
295                 - Fix declarations.
296                 - Explicitly implement some interfaces (IPostBackDataHandler
297                 and IPostBackEventHandler).
298                 - Implemented some missing methods.
299
300 2002-06-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * HttpSessionState.cs: implemented more methods/properties.
303         * SessionDictionary.cs: New file.
304
305 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
306
307         * System.Web.SessionState/HttpSessionState.cs:
308         * System.Web.SessionState/SessionStateModule.cs: new files with some
309         implementation and the rest stubbed.
310
311 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
312
313         * IReadOnlySessionState.cs:
314         * IRequiresSessionState.cs:
315         * SessionStateMode.cs: new files.
316