* Cache.cs: refactoring - move the timeout setting code to
separate methods, so that it can be accessed from outside the
class. Fixes bug #382644
2008-04-28 Marek Habersack <[email protected]>
* ISessionHandler.cs: added new method, Touch, to reset the item
timeout.
* SessionStateServerHandler.cs, SessionSQLServerHandler.cs,
SessionInProcHandler.cs: added implementation of the
ISessionHandler Touch method, to reset item timeout. Fixes bug
#382644
* StateServerItem.cs: made the Timeout property writable.
* SessionStateModule.cs: reset the item timeout after
OnSessionStart has returned. Fixes bug #382644
* RemoteStateServer.cs: added a method to reset item timeout.
svn path=/trunk/mcs/; revision=102034
* HttpSessionState.cs: Added LinkDemand for Minimal.
* IHttpSessionState.cs: Renamed IsCookieLess to IsCookieless.
* ISessionStateItemCollection.cs: Added ICollection and IEnumerable.
* SessionStateMode.cs: Added Custom (2.0).
* SessionStateModule.cs: Use RandomNumberGenerator.Create to create
the RNG. Assert EnvironmentPermission to read MONO_XSP_STATIC_SESSION.
Added LinkDemand for Minimal.
* StateRuntime.cs: Added LinkDemand for Minimal, new ProcessRequest
override (2.0) and security attributes on methods.
svn path=/trunk/mcs/; revision=49834
* System.Web/HttpStaticObjectsCollection.cs:
* System.Web.SessionState/HttpSessionState.cs: don't share static
session objects declared in the application file across the application,
but on a per-session basis. Fixes bug #65446.
svn path=/trunk/mcs/; revision=33685
* HttpSessionState.cs: added Clone (), which makes and exact copy but
with a cloned SessionDictionary. When EnableSessionState is set to
ReadOnly, we can modify the collection, but changes are not propagated.
* ISessionHandler.cs: changed signature of UpdateContext().
* SessionDictionary.cs: added Clone.
* SessionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: don't create a new session if the handler
do not require it. UpdateContext() now returns an HttpSessionState to
the module.
* SessionStateModule.cs: removed IsReadOnly as it is now passed as a
parameter to the session handler. If the session is read-only, clone
it so that it can be changed but changes are not kept.
In short, we don't create session objects when not required and we
honor the ReadOnly sessions.
svn path=/trunk/mcs/; revision=26781
* ISessionHandler.cs: Add method to update the session state
data in the handler. Pass the session config to handlers when
initializing.
* SessionConfig.cs: Add StateNetworkTimeout
* SessionInProcHandler.cs: Updates because interface has
changed, all functionality is the same.
* SessionStateModule.cs: Get new config items, allow SQLServer
session manager type. Update session handlers when the session
state has been released.
* SessionStateSectionHandler.cs: Add StateNetworkTimeout
* SessionSQLServerHandler.cs: New class allows sessions to be
stored in a database.
svn path=/trunk/mcs/; revision=19596
* System.Web/HttpRuntime.cs: Cache no longer have a Dispose method.
* System.Web/HttpServerUtility.cs: removed MonoTODO.
* System.Web.Caching/Cache.cs:
* System.Web.Caching/CacheDefinitions.cs:
* System.Web.Caching/CacheDependency.cs:
* System.Web.Caching/CacheEntry.cs:
* System.Web.Caching/CacheExpires.cs:
* System.Web.Caching/ExpiresBuckets.cs: reformatted, make class status
page happier. Does not work yet (wait for the next patch).
* System.Web.SessionState/HttpSessionState.cs: implemented CodePage.
* System.Web.SessionState/SessionStateModule.cs: initial stuff to make
it work.
svn path=/trunk/mcs/; revision=12480
* System.Web/HttpRequest.cs: implemented Browser property.
* System.Web.UI/Page.cs: finished stubbing out. Implemented some
methods.
* System.Web.SessionState/HttpSessionState.cs:
* System.Web.SessionState/SessionStateModule.cs: new files with some
implementation and the rest stubbed.
svn path=/trunk/mcs/; revision=5116