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