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