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