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