ChangeLog 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. 2006-10-12 Hubert FONGARNAND <[email protected]>
  2. Patch from Hubert FONGARNAND
  3. * SessionSQLServerHandler.cs (selectCommand): Instead of using
  4. SELECT * for pulling the data out of the ASPStateTempSessions, use
  5. the explicit column names. This allows users to change the table
  6. and not have any undesired side effects for our code.
  7. (ReadBytes): This patch corrects a bug too in ReadBytes. The index parameter
  8. was not properly used when calculating the size of the data.
  9. 2006-09-03 Robert Jordan <[email protected]>
  10. * SessionSQLServerHandler.cs: persist and handle the "timeout" and
  11. "expire" properties of the session. Fixes bug #78281.
  12. Patch by Boris Dores <[email protected]>.
  13. 2006-08-08 Vladimir Krasnov <[email protected]>
  14. * SessionInProcHandler.jvm.cs:
  15. * SessionStateModule.cs: added NET_2_0 parts into TARGET_J2EE
  16. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  17. * RemoteStateServer.cs: make it inmortal.
  18. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  19. * RemoteStateServer.cs: use a Cache instead of a Hashtable so that we
  20. get sliding expiration for free.
  21. * StateServerItem.cs: expose 'timeout' through a property.
  22. 2006-06-15 Gonzalo Paniagua Javier <[email protected]>
  23. * SessionId.cs: make the length of the SessionID 24, as MS.
  24. 2006-04-19 Sebastien Pouliot <[email protected]>
  25. * SessionConfig.cs: Avoid a cast.
  26. * SessionDictionary.cs: Remove unused internal methods.
  27. * SessionId.cs: Const-ify internal/private values.
  28. * SessionStateModule.cs: Const-ify internal/private values.
  29. 2006-03-15 Gonzalo Paniagua Javier <[email protected]>
  30. * SessionSQLServerHandler.cs: if the connection to the DB is lost, retry
  31. the select/update/insert/delete commands after reconnecting.
  32. Fixes bug #77785.
  33. 2006-03-04 Robert Jordan <[email protected]>
  34. * SessionSQLServerHandler.cs: make SQL statements and parameters
  35. provider independent/configurable.
  36. * SessionSQLServerHandler.cs (SelectSession): properly dispose
  37. the data reader. Fixes bug #77698.
  38. 2006-02-28 Chris Toshok <[email protected]>
  39. * IStateRuntime.cs: wrap new interface method with NET_2_0.
  40. 2006-02-28 Chris Toshok <[email protected]>
  41. * SessionStateActions.cs: oops, actually rename the enum, not just
  42. the file.
  43. 2006-02-28 Chris Toshok <[email protected]>
  44. * SessionStateActions.cs: rename SessionStateActionFlags to this.
  45. * ISessionIDManager.cs: rename ISessionIDModule to this.
  46. * IStateRuntime.cs: corcompare work.
  47. 2006-02-01 Chris Toshok <[email protected]>
  48. * SessionStateServerHandler.cs: CONFIGURATION_2_0 => NET_2_0.
  49. * SessionSQLServerHandler.cs: same.
  50. * SessionStateModule.cs: same.
  51. * ISessionHandler.cs: same.
  52. * SessionInProcHandler.cs: same.
  53. 2006-01-18 Konstantin Triger <[email protected]>
  54. * HttpSessionState.jvm.cs: correcting serialization conditions.
  55. 2006-01-09 Konstantin Triger <[email protected]>
  56. * HttpSessionState.jvm.cs: merging HttpSessionState.cs@@/main/19-24
  57. 2005-11-28 Chris Toshok <[email protected]>
  58. * SessionStateModule.cs: CONFIGURATION_2_0 work.
  59. * SessionSQLServerHandler.cs: CONFIGURATION_2_0 work.
  60. * SessionInProcHandler.cs: CONFIGURATION_2_0 work.
  61. * SessionStateServerHandler.cs: CONFIGURATION_2_0 work.
  62. * ISessionHandler.cs (Init): @config is a SessionStateSection if
  63. CONFIGURATION_2_0.
  64. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  65. * SessionStateModule.cs: use the new funciton in HttpRequest.
  66. 2005-09-22 Jackson Harper <[email protected]>
  67. * SessionStateModule.cs: Use a concat instead of a format (mucho
  68. faster).
  69. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  70. * SessionStateModule.cs: fix compilation warnings and use the
  71. application path for the cookie path. This is a temporary fix for 76172.
  72. * SessionId.cs: don't access the cookie collection twice.
  73. 2005-09-09 Sebastien Pouliot <[email protected]>
  74. * HttpSessionState.cs: Added LinkDemand for Minimal.
  75. * IHttpSessionState.cs: Renamed IsCookieLess to IsCookieless.
  76. * ISessionStateItemCollection.cs: Added ICollection and IEnumerable.
  77. * SessionStateMode.cs: Added Custom (2.0).
  78. * SessionStateModule.cs: Use RandomNumberGenerator.Create to create
  79. the RNG. Assert EnvironmentPermission to read MONO_XSP_STATIC_SESSION.
  80. Added LinkDemand for Minimal.
  81. * StateRuntime.cs: Added LinkDemand for Minimal, new ProcessRequest
  82. override (2.0) and security attributes on methods.
  83. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  84. * SessionStateModule.cs: raise the Start event for new sessions.
  85. 2005-09-08 Eyal Alaluf <[email protected]>
  86. * HttpSessionState.jvm.cs - fixed serialization when we want to serialize
  87. an empty session.
  88. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  89. * SessionStateModule.cs: Only invoke the End event using the new method
  90. in HttpApplicationFactory and when session state mode is InProc.
  91. 2005-09-01 Eyal Alaluf <[email protected]>
  92. * SessionStateModule.cs: Under TARGET_J2EE we let the J2EE app server handle
  93. session persistence, so we don't support SQL/Remoting session servers
  94. at the ASP.Net level.
  95. 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
  96. * SessionStateModule.cs: added lock around 'config'.
  97. * SessionInProcHandler.cs: when inserting in the the session in the
  98. Cache, use sliding expiration only.
  99. 2005-08-15 Miguel de Icaza <[email protected]>
  100. * SessionStateModule.cs: Make this use the synch api as the module
  101. was synchronous anyways
  102. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  103. * SessionInProcHandler.cs: use cache.InsertPrivate.
  104. * SessionDictionary.cs: fix typo that made Clone useless.
  105. 2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
  106. * SessionStateMode.cs: Added TARGET_J2EE directive in order
  107. to provide in J2EE configuration additional mode - J2EE
  108. * SessionStateModule.cs: Added TARGET_JVM directives in order
  109. to resolve unsupported in Ghrasshopper "static variables" issue
  110. (When static variable are stored in general place, instead of
  111. storing such variables per AppDomain).
  112. 2005-05-27 Gonzalo Paniagua Javier <[email protected]>
  113. * RemoteStateServer.cs:
  114. * HttpSessionState.cs:
  115. * SessionSQLServerHandler.cs:
  116. * SessionInProcHandler.cs:
  117. * SessionStateServerHandler.cs: remove abandoned sessions in the
  118. ReleseRequest state. Fixes bug #75051.
  119. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  120. * SessionSQLServerHandler.cs:
  121. * SessionStateServerHandler.cs: removed warnigs.
  122. 2005-03-02 Gonzalo Paniagua Javier <[email protected]>
  123. * SessionStateModule.cs:
  124. * SessionId.cs: share the same RNG for all the instances of
  125. SessionStateModule.
  126. 2005-02-05 Gonzalo Paniagua Javier <[email protected]>
  127. * SessionStateModule.cs: hack that makes static files work on sites that
  128. use the Session object in global.asax. You need to set
  129. MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit
  130. of performance when serving static files. Fixes bug #71133.
  131. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  132. * SessionStateModule.cs: set the path modifier when using cookie-less
  133. sessions.
  134. 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
  135. * SessionStateModule.cs: use SetCurrentExePath instead of SetFilePath.
  136. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  137. * HttpSessionState.cs: don't share static session objects declared in
  138. the application file across the application, but on a per-session
  139. basis. Fixes bug #65446.
  140. 2004-08-31 Sanjay Gupta <[email protected]>
  141. * SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not
  142. required in definition.
  143. 2004-08-09 Sanjay Gupta <[email protected]>
  144. * SessionStateItemExpireCallback.cs: Added delegate.
  145. * SessionStateStoreData.cs: Added a new class.
  146. 2004-08-05 Sanjay Gupta <[email protected]>
  147. * IHttpSessionState.cs:
  148. * ISessionIDModule.cs:
  149. * ISessionStateItemCollection.cs: Added new interfaces.
  150. 2004-08-04 Sanjay Gupta <[email protected]>
  151. * SessionStateActionFlags.cs: Added enumeration.
  152. 2004-07-07 Juraj Skripsky <[email protected]>
  153. * SessionStateModule.cs: set path in session cookie to application
  154. path.
  155. 2004-06-18 Gert Driesen <[email protected]>
  156. * IStateRuntime.cs: added missing marshalling attributes
  157. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  158. * SessionSQLServerHandler.cs:
  159. * SessionStateServerHandler.cs:
  160. * ISessionHandler.cs: added new parameter to Init.
  161. * SessionInProcHandler.cs: use the HttpRuntime cache to store the
  162. sessions and handle expiration.
  163. * SessionStateModule.cs: added OnSessionRemoved internal method that is
  164. called whenever a session expires or is removed.
  165. 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
  166. * HttpSessionState.cs: added Clone (), which makes and exact copy but
  167. with a cloned SessionDictionary. When EnableSessionState is set to
  168. ReadOnly, we can modify the collection, but changes are not propagated.
  169. * ISessionHandler.cs: changed signature of UpdateContext().
  170. * SessionDictionary.cs: added Clone.
  171. * SessionInProcHandler.cs:
  172. * SessionSQLServerHandler.cs:
  173. * SessionStateServerHandler.cs: don't create a new session if the
  174. handler do not require it. UpdateContext() now returns an
  175. HttpSessionState to the module.
  176. * SessionStateModule.cs: removed IsReadOnly as it is now passed as a
  177. parameter to the session handler. If the session is read-only, clone
  178. it so that it can be changed but changes are not kept.
  179. In short, we don't create session objects when not required and we
  180. honor the ReadOnly sessions.
  181. 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
  182. * SessionInProcHandler.cs:
  183. * SessionSQLServerHandler.cs:
  184. * SessionStateServerHandler.cs: when creating the
  185. HttpSessionStateObjets, use the session objects that we know about
  186. in HttpApplicationFactory.
  187. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  188. * HttpSessionState.cs:
  189. * SessionInProcHandler.cs: IsNewSession doesn't have a public setter.
  190. * SessionStateModule.cs: doesn't implement IRequiresSessionState.
  191. * StateServerItem.cs: not public.
  192. 2004-01-05 Alon Gazit <[email protected]>
  193. * SessionDictionary.cs: can't set item's value to null if the item is
  194. new.
  195. 2003-12-25 Jackson Harper <[email protected]>
  196. * SessionStateModule.cs: Handle SessionStateMode.Off properly in
  197. Init. Only set session cookies if a new session is created. This
  198. fixes bug #52501.
  199. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  200. * IStateRuntime.cs:
  201. * SessionStateModule.cs: class status based fixes.
  202. 2003-12-05 Jackson Harper <[email protected]>
  203. * SessionStateModule.cs: Add readonly property for readonly
  204. sessions. This fixes bug #51647.
  205. * SessionInProcHandler.cs:
  206. * SessionSQLServerHandler.cs:
  207. * SessionStateServerHandler.cs: Cleanup params for
  208. HttpSessionState ctor. Make sure to always set is new, cookieless,
  209. and readonly properly.
  210. 2003-12-03 Jackson Harper <[email protected]>
  211. * SessionStateModule.cs: If using cookieless sessions add an
  212. onbegin request handler that parsers out session ids and rewrites
  213. the path. Also redirect to a url with an embedded session id if we
  214. are creating a new cookieless session.
  215. * SesionInProcHandler.cs:
  216. * SessionSQLServerHandler.cs:
  217. * SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
  218. ids, don't set the session id cookie anymore. That is handled by
  219. the SessionStateModule.
  220. * SessionId.cs: Add method for looking up session ids, add some constants.
  221. 2003-11-26 Jackson Harper <[email protected]>
  222. * SessionSQLServerHandler.cs: Fix typo in param name.
  223. 2003-11-25 Jackson Harper <[email protected]>
  224. * RemoteStateServer.cs: Update the session dictionary data and the
  225. static objects data.
  226. * SessionDictionary.cs: Remove type serialization methods, these
  227. have been moved to a utility class. Add convenience methods for
  228. converting to/from byte arrays.
  229. * SessionSQLServerHandler.cs:
  230. * SessionStateServerHandler.cs: Save/Restore static objects. Use new
  231. to/from byte array methods.
  232. * StateServerItem.cs: Hold static objects data.
  233. 2003-11-24 Jackson Harper <[email protected]>
  234. * SessionStateServerHandler.cs: Parse connection string. Need to
  235. look into what MS allows/doesn't allow better.
  236. 2003-11-24 Jackson Harper <[email protected]>
  237. * RemoteStateServer.cs: The state server object that will reside
  238. on the server and store session data and ids.
  239. * StateServerItem.cs: Container for session data.
  240. * SessionStateServerHandler.cs: Handler that communicates with the
  241. StateServer so sessions can be stored out of process.
  242. * SessionStateModule.cs: Allow state server mode.
  243. 2003-11-13 Jackson Harper <[email protected]>
  244. * SessionInProcHandler.cs: Use AppDomain.SetData so data is
  245. available across all threads. Set the path of session id
  246. cookies. Patch by Mohammad DAMT. Fixes bug #50922.
  247. 2003-11-06 Jackson Harper <[email protected]>
  248. * ISessionHandler.cs: Pass the SessionStateModule to handlers when
  249. updating.
  250. * SessionSqlServerHandler.cs:
  251. * SessionInProcHandler.cs: Accept SessionStateModule when
  252. updating. Use new SessionId.Create method for creating session
  253. ids.
  254. * SessionStateModule.cs: Add a random number generator that will
  255. be used for creating session ids. Pass this to handlers when
  256. updating.
  257. * SessionId.cs: New class for creating session ids.
  258. 2003-11-03 Jackson Harper <[email protected]>
  259. * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by Yaron Shkop.
  260. 2003-11-03 Jackson Harper <[email protected]>
  261. * HttpSessionState.cs: Make the SessionDictionary accessable
  262. * ISessionHandler.cs: Add method to update the session state
  263. data in the handler. Pass the session config to handlers when
  264. initializing.
  265. * SessionConfig.cs: Add StateNetworkTimeout
  266. * SessionInProcHandler.cs: Updates because interface has
  267. changed, all functionality is the same.
  268. * SessionStateModule.cs: Get new config items, allow SQLServer
  269. session manager type. Update session handlers when the session
  270. state has been released.
  271. * SessionStateSectionHandler.cs: Add StateNetworkTimeout
  272. * SessionSQLServerHandler.cs: New class allows sessions to be
  273. stored in a database.
  274. 2003-10-28 Jackson Harper <[email protected]>
  275. * HttpSessionState.cs: Do not allow timeout to be set to less then
  276. one.
  277. 2003-10-28 Jackson Harper <[email protected]>
  278. * SessionInProcHandler.cs: Compute timeouts
  279. correctly. DateTime.Milliseconds is the just the milliseconds part
  280. of the time, it is not the entire time as milliseconds.
  281. 2003-10-13 Ben Maurer <[email protected]>
  282. * SessionStateModule.cs: prevent Context.State from being null if
  283. the module is inited in another HttpApplication. Fixes #49569.
  284. 2003-07-30 Andreas Nahr <[email protected]>
  285. * IStateRuntime.cs: New interface class
  286. * StateRuntime.cs: New class - stubbed out
  287. 2003-07-17 Andreas Nahr <[email protected]>
  288. * SessionInProcHandler.cs: Made these internal to fix signature and building CLS-compliant
  289. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  290. * SessionDictionary.cs: locking.
  291. * SessionInProcHandler.cs: use the new method instead of the setter.
  292. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  293. * ISessionHandler.cs:
  294. * SessionInProcHandler.cs:
  295. * SessionStateModule.cs: UpdateContext returns a bool indicating if we
  296. started a new session. Only call session start event if that is true.
  297. 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
  298. * SessionStateModule.cs: fire application start and session start/end
  299. events.
  300. 2003-03-31 Stefan Görling <[email protected]>
  301. * HttpSessionState.cs:
  302. * ISessionHandler.cs:
  303. * SessionInProcHandler.cs:
  304. * SessionStateModule.cs: initial implementation of InProc session.
  305. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  306. * HttpSessionState.cs: implemented CodePage.
  307. * SessionStateModule.cs: initial stuff to make it work.
  308. 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
  309. * HttpSessionState.cs: reworked to use SessionDictionary.
  310. * SessionDictionary.cs: implemented serialization/deserialization.
  311. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  312. * SessionConfig.cs:
  313. * SessionStateSectionHandler.cs: new files to read <sessionState>
  314. configuration.
  315. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  316. * SessionStateModule.cs: don't throw exception. Just for testing the
  317. configuration stuff until we implement this.
  318. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  319. * HttpSessionState.cs: IsAbandoned is internal.
  320. * SessionDictionary.cs: scope fixes.
  321. * SessionStateModule.cs: added events.
  322. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  323. * System.Web.SessionState/HttpSessionState.cs:
  324. Fixes based on class status page:
  325. - Add attributes (DefaultEvent, ParseChildren).
  326. - Fix declarations.
  327. - Explicitly implement some interfaces (IPostBackDataHandler
  328. and IPostBackEventHandler).
  329. - Implemented some missing methods.
  330. 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
  331. * HttpSessionState.cs: implemented more methods/properties.
  332. * SessionDictionary.cs: New file.
  333. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  334. * System.Web.SessionState/HttpSessionState.cs:
  335. * System.Web.SessionState/SessionStateModule.cs: new files with some
  336. implementation and the rest stubbed.
  337. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  338. * IReadOnlySessionState.cs:
  339. * IRequiresSessionState.cs:
  340. * SessionStateMode.cs: new files.