Commit Graph
14 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier f562f3e514 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* IStateRuntime.cs:
	* SessionStateModule.cs: class status based fixes.

svn path=/trunk/mcs/; revision=21291
2003-12-18 01:16:13 +00:00
Jackson Harper e9957c6999 * SessionStateModule.cs: Add readonly property for readonly
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
2003-12-05 20:08:40 +00:00
Jackson Harper db3acd1383 * SessionStateModule.cs: If using cookieless sessions add an
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
2003-12-04 05:47:16 +00:00
Jackson Harper 04cb1c4ce5 * RemoteStateServer.cs: The state server object that will reside
on the server and store session data and ids.
	* StateServerItem.cs: Container for session data.
	* SessionStateServerHandler.cs: Handler that communicates with the
	StateServer so sessions can be stored out of process.
	* SessionStateModule.cs: Allow state server mode.

svn path=/trunk/mcs/; revision=20411
2003-11-25 03:42:46 +00:00
Jackson Harper 08c0a14710 * ISessionHandler.cs: Pass the SessionStateModule to handlers when
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
2003-11-06 19:25:32 +00:00
Jackson Harper 804bccf91f * HttpSessionState.cs: Make the SessionDictionary accessable
* 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
2003-11-03 21:08:59 +00:00
Ben Maurer fc0cb47f65 2003-10-13 Ben Maurer <[email protected]>
* SessionStateModule.cs: prevent Context.State from being null if
	the module is inited in another HttpApplication. Fixes #49569.

svn path=/trunk/mcs/; revision=18991
2003-10-13 21:44:14 +00:00
Gonzalo Paniagua Javier f5b3aab281 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-07-01 13:43:37 +00:00
Gonzalo Paniagua Javier be56d93873 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs:
	* System.Web/HttpApplicationFactory.cs:
	* System.Web.SessionState/SessionStateModule.cs: fire
	application start and session start/end events.

svn path=/trunk/mcs/; revision=14526
2003-05-13 04:08:50 +00:00
Gonzalo Paniagua Javier da67a0d871 2003-03-31 Stefan G�rling <[email protected]>
* list: added new files to System.Web.SessionState
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.SessionState/ISessionHandler.cs:
	* System.Web.SessionState/SessionInProcHandler.cs:
	* System.Web.SessionState/SessionStateModule.cs: initial implementation
	of InProc session.

svn path=/trunk/mcs/; revision=12936
2003-03-30 22:12:30 +00:00
Gonzalo Paniagua Javier 46059274db 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-03-13 19:44:44 +00:00
Gonzalo Paniagua Javier 18be21e855 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.

	* System.Web/HttpApplication.cs: fixed type and handle factories when
	creating IHttpHandler for a request.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: made a
	couple of static methods be part of a class used in other handlers.
	* System.Web.Configuration/HttpModulesConfigurationHandler.cs: handler
	for modules.
	* System.Web.Configuration/ModuleItem.cs: added IsMatch method.
	* System.Web.Configuration/ModulesConfiguration.cs: made it similar to
	the handlers class: added Clear, Remove.

	* System.Web.Handlers/ChangeLog: New file.
	* System.Web.Handlers/TraceHandler.cs: stubbed out. This should generate
	the trace page when tracing is enabled.

	* System.Web.SessionState/SessionStateModule.cs: don't throw exception.
	Just for testing the configuration stuff until we implement this.

svn path=/trunk/mcs/; revision=8074
2002-10-08 22:03:56 +00:00
Gonzalo Paniagua Javier 9d79ec487d 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs: reformatted.
	* System.Web/HttpStaticObjectsCollection.cs: implemented GetEnumertor,
	CopyTo and the indexer.
	* System.Web.Compilation/PageCompiler.cs: fixed compilation.
	* System.Web.SessionState/HttpSessionState.cs: IsAbandoned is internal.
	* System.Web.SessionState/SessionDictionary.cs: scope fixes.
	* System.Web.SessionState/SessionStateModule.cs: added events.

svn path=/trunk/mcs/; revision=6730
2002-08-19 01:31:11 +00:00
Gonzalo Paniagua Javier 22f23b9995 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* 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
2002-06-04 13:27:21 +00:00