2
0

ChangeLog 15 KB

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