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