* OutputCacheModule.cs: use Context.InternalCache.
* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.
2007-06-20 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-20 Marek Habersack <[email protected]>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
Fixes bug #81690
svn path=/trunk/mcs/; revision=80321
* System.Web/HttpApplication.cs: clone the module collection so that
it's not shared between HttpApplications. Call GetHandler() in the
right place.
* System.Web.SessionState/SessionStateModule.cs: added lock around
'config'.
* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
the the session in the Cache, use sliding expiration only.
* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).
svn path=/trunk/mcs/; revision=49157
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs:
* ISessionHandler.cs: added new parameter to Init.
* SessionInProcHandler.cs: use the HttpRuntime cache to store the
sessions and handle expiration.
* SessionStateModule.cs: added OnSessionRemoved internal method that is
called whenever a session expires or is removed.
svn path=/trunk/mcs/; revision=29284
* 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
* System.Web/HttpApplication.cs: ApplicationState is inited by the
factory so, return that value in the property. when we use the context
Session, cache it in the instance field.
* System.Web/HttpApplicationFactory.cs: fixed target Type for the
event when hooking application and module events. Initialize application
and session scope objects. Fixes non-aplication events hook up.
* System.Web/HttpStaticObjectsCollection.cs: added StaticItem and delay
the creation of the objects until they are requested.
* System.Web.SessionState/SessionInProcHandler.cs:
* System.Web.SessionState/SessionSQLServerHandler.cs:
* System.Web.SessionState/SessionStateServerHandler.cs: when creating
the HttpSessionStateObjets, use the session objects that we know about
in HttpApplicationFactory.
Fixes bug #53387.
svn path=/trunk/mcs/; revision=22900
sessions. This fixes bug #51647.
* SessionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Cleanup params for
HttpSessionState ctor. Make sure to always set is new, cookieless,
and readonly properly.
svn path=/trunk/mcs/; revision=20811
onbegin request handler that parsers out session ids and rewrites
the path. Also redirect to a url with an embedded session id if we
are creating a new cookieless session.
* SesionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
ids, don't set the session id cookie anymore. That is handled by
the SessionStateModule.
* SessionId.cs: Add method for looking up session ids, add
some constants.
svn path=/trunk/mcs/; revision=20759
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.
svn path=/trunk/mcs/; revision=19689
* 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
correctly. DateTime.Milliseconds is the just the milliseconds part
of the time, it is not the entire time as milliseconds.
svn path=/trunk/mcs/; revision=19445
* System.Web/HttpContext.cs: Session doesn't have a setter.
* System.Web/HttpResponse.cs: Request is private.
* System.Web.SessionState/SessionDictionary.cs: locking.
* System.Web.SessionState/SessionInProcHandler.cs: use the new method
instead of the setter.
svn path=/trunk/mcs/; revision=16029
* ISessionHandler.cs:
* SessionInProcHandler.cs:
* SessionStateModule.cs: UpdateContext returns a bool indicating if we
started a new session. Only call session start event if that is true.
svn path=/trunk/mcs/; revision=15812