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