ChangeLog 16 KB

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