bf72692863982297f883f9df9bf06b5748df4f45
[mono.git] / mcs / class / System.Web / System.Web.SessionState_2.0 / ChangeLog
1 2010-02-24  Marek Habersack  <mhabersack@novell.com>
2
3         * SessionStateServerHandler.cs, SessionSQLServerHandler.cs: added
4         support for session state compression (4.0)
5
6 2010-01-20  Marek Habersack  <mhabersack@novell.com>
7
8         * SessionStateBehavior.cs: added (4.0)
9
10 2009-10-19  Marek Habersack  <mhabersack@novell.com>
11
12         * SessionStateModule.cs: enabled SQL session state provider.
13
14         * SessionSQLServerHandler.cs: implemented. Uses System.Data.Common
15         for provider-agnostic implementation. Until an issue with Npgsql's
16         2.0 factory missing is resolved it defaults to using
17         Mono.Data.Sqlite as the provider.
18         Selecting of the data provider is done by putting DbProviderName
19         in the connection string specified in the
20         <system.web/sessionState> configuration section.
21
22 2009-03-21  Marek Habersack  <mhabersack@novell.com>
23
24         * HttpSessionState.cs: implemented the CookieMode property.
25
26 2008-09-15  Marek Habersack  <mhabersack@novell.com>
27
28         * SessionStateModule.cs: correctly let the handler know if an item
29         is new when calling SetAndReleaseItemExclusive. Fixes bug #424797
30         If handler's GetItem doesn't initialize storeLockId to a non-null
31         value, initialize it to 0. Fixes bug #424797
32
33 2008-07-29  Marek Habersack  <mhabersack@novell.com>
34
35         * SessionStateModule.cs: use Request.FilePath instead of
36         Request.BaseVirtualDirectory to retrieve the cookie-less session
37         identifier. Fixes bug #397418
38
39 2008-06-04  Marek Habersack  <mhabersack@novell.com>
40
41         * SessionStateModule.cs: set the application modifier path to bare
42         session id.
43
44 2008-05-30  Marek Habersack  <mhabersack@novell.com>
45
46         * SessionStateModule.cs: do not use synthetized event accessors
47         (to avoid locks).
48
49 2008-04-24  Marek Habersack  <mhabersack@novell.com>
50
51         * SessionStateModule.cs: reset the storage data item timeout to
52         the HttpApplication.Session.Timeout value after the Session_Start
53         event is fired. Fixes bug #382644
54
55 2007-11-05  Marek Habersack  <mhabersack@novell.com>
56
57         * SessionStateModule.cs: use TimeSpan.TotalMinutes wherever a
58         session timeout is required, so that sessions do not expire
59         prematurely. Fixes bug #339026. Patch from Adriaan van Kekem
60         <adriaanvk@gmail.com>, thanks!
61
62 2007-10-17  Marek Habersack  <mhabersack@novell.com>
63
64         * SessionInProcHandler.cs: in certain situations the 'item'
65         parameter passed to SetAndReleaseItemExclusive may be null. The
66         issue was reported in bug #333898, but the reporter cannot provide
67         a test case that triggers the issue. Added work around the problem
68         in the way that should have the least impact on the rest of the
69         code. If 'item' is null, then the new session item is created
70         without the items and staticItems collections - they will be
71         initialized to defaults when retrieving the session item. This is
72         not a correct fix, but since there is no test case this is the
73         best what can be done right now.
74
75 2007-10-15  Juraj Skripsky  <js@hotfeet.ch>
76
77         * SessionStateModule.cs (Init): Use HttpApplication.LoadType,
78         don't swallow TypeLoadException.
79
80 2007-10-15  Marek Habersack  <mhabersack@novell.com>
81
82         * SessionStateServerHandler.cs: adjust order of field
83         initialization. 
84
85 2007-09-18  Marek Habersack  <mhabersack@novell.com>
86
87         * SessionIDManager.cs: preserve the query part of the url when
88         redirecting with cookieless sessions active. Fixes bug #318790
89
90 2007-09-07  Marek Habersack  <mhabersack@novell.com>
91
92         * SessionInProcHandler.cs: properly clone the
93         ApplicationState.SessionObjects at the start of the request and
94         use the copy when creating new storage items. That way session
95         scope static objects are valid within a single session only. Fixes
96         bug #82709
97
98 2007-08-14  Marek Habersack  <mhabersack@novell.com>
99
100         * SessionStateServerHandler.cs: remove unused field.
101
102 2007-07-31  Marek Habersack  <mhabersack@novell.com>
103
104         * SessionInProcHandler.cs: initialize the static session objects
105         collection from the application state instead of using
106         SessionStateUtility.GetSessionStaticObjects. Fixes bug #82193
107         * SessionStateServerHandler.cs: as above
108         
109 2007-07-30  Igor Zelmanovich <igorz@mainsoft.com>
110
111         * SessionStateModule.cs:
112         ensure release (save) session state at OnEndRequest.    
113
114 2007-06-20  Marek Habersack  <mhabersack@novell.com>
115
116         * SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
117         the internal entries.
118
119         * SessionStateModule.cs: if session is abandoned and the handler
120         supports expiration, disable the handler's session expiration
121         callback and call SessionStateUtility.RaiseSessionEnd
122         directly. Fixes bug #81853.
123
124 2007-04-30  Marek Habersack  <mhabersack@novell.com>
125
126         * SessionInProcHandler.cs: do not end session when setting and
127         releasing item in mid-session. Fixes bugs #81440, #81140 and
128         #80723
129
130 2007-04-18  Marek Habersack  <mhabersack@novell.com>
131
132         * SessionInProcHandler.cs: added protection against raising early
133         session end event when resetting item timeout. Fixes bug #81140
134
135 2007-03-12  Konstantin Triger <kostat@mainsoft.com>
136
137         * SessionStateModule.cs: TARGET_J2EE: support only J2EE sessions.
138
139 2007-03-06  Marek Habersack  <mhabersack@novell.com>
140
141         * SessionInProcHandler.cs: gracefully handle different value types
142         in the session removal handler.
143
144         * SessionStateModule.cs: create an empty container if session data
145         is null. Fixes bug 80682
146
147 2007-02-19  Konstantin Triger <kostat@mainsoft.com>
148
149         * SessionStateModule.cs: call Session_End callback only if the handler
150                 does not support expiration.
151
152 2007-01-20  Miguel de Icaza  <miguel@novell.com>
153
154         * SessionStateModule.cs: Removed unused variables.
155
156 2007-01-07  Konstantin Triger <kostat@mainsoft.com>
157
158         * SessionStateModule.cs: Implemented raising of Session_OnEnd event,
159                 refactoring.
160
161 2006-12-27  Konstantin Triger <kostat@mainsoft.com>
162
163         * SessionIDManager.cs: Pass config to SessionStateModule.IsCookieLess.
164         * SessionStateStoreData.cs: fix constructor signature.
165         * SessionInProcHandler.cs, SessionStateServerHandler.cs: ensure has a default
166                 constructor to make instantiating same as for custom provider.
167         * SessionStateModule.cs: support custom providers.
168
169 2006-12-20  Marek Habersack  <grendello@gmail.com>
170         * SessionStateServerHandler.cs:
171         implemented for the 2.0 model.
172
173         * SessionStateUtility.cs:
174         implemented.
175
176         * SessionStateStoreProviderBase.cs:
177         implemented.
178
179         * SessionInProcHandler.cs:
180         reimplemented for the 2.0 model.
181
182         * SessionIDManager.cs: implemented.
183
184         * SessionStateModule.cs: copied the
185         file to new location and implemented the 2.0 model.
186
187         * SessionSQLServerHandler.cs:
188         created. Implementation not done yet.
189
190         * HttpSessionStateContainer.cs: copied
191         the file to new location and implemented the 2.0 model.
192
193         * StateServerItem.cs: implementation
194         for the 2.0 model.
195
196         * HttpSessionState.cs: reimplemented
197         for the 2.0 model.
198
199         * RemoteStateServer.cs: copied the
200         file to new location and added new code for the 2.0 model.
201
202         * SessionStateItemCollection.cs:
203         implemented.
204
205         * SessionStateActions.cs: moved the
206         file to new location and added the None member.
207
208         * ISessionIDManager.cs: moved the file
209         to new location.
210
211         * SessionStateItemExpireCallback.cs:
212         moved the file to new location.
213
214         * IHttpSessionState.cs: moved the file
215         to new location.
216
217         * SessionStateStoreData.cs: moved the
218         file to new location and modified for the 2.0 model.
219
220         * ISessionStateItemCollection.cs:
221         moved the file to new location.