Commit Graph
16 Commits
Author SHA1 Message Date
Sebastien Pouliot 6c57da6093 2005-09-09 Sebastien Pouliot <[email protected]>
* 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
2005-09-09 21:47:04 +00:00
Gonzalo Paniagua Javier d54dc93a8f 2005-05-27 Gonzalo Paniagua Javier <[email protected]>
* RemoteStateServer.cs:
	* HttpSessionState.cs:
	* SessionSQLServerHandler.cs:
	* SessionInProcHandler.cs:
	* SessionStateServerHandler.cs: remove abandoned sessions in the 
	ReleseRequest state. Fixes bug #75051.


svn path=/trunk/mcs/; revision=45100
2005-05-27 05:10:21 +00:00
Gonzalo Paniagua Javier b53f5e5bb9 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-09-10 02:17:15 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 36879b3188 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-05 18:45:08 +00:00
Gonzalo Paniagua Javier e05e6eac2c 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs:
	* SessionInProcHandler.cs: IsNewSession doesn't have a public setter.

	* SessionStateModule.cs: doesn't implement IRequiresSessionState.
	* StateServerItem.cs: not public.

svn path=/trunk/mcs/; revision=22423
2004-01-23 08:55:35 +00:00
Jackson Harper 4128794e4f * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
Yaron Shkop.

svn path=/trunk/mcs/; revision=19602
2003-11-03 22:47:31 +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
Jackson Harper b7f40d18ab * HttpSessionState.cs: Do not allow timeout to be set to less then
one.

svn path=/trunk/mcs/; revision=19446
2003-10-28 21:10:35 +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 4db56925dc 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: reworked to use SessionDictionary.
	* SessionDictionary.cs: implemented serialization/deserialization.

svn path=/trunk/mcs/; revision=12166
2003-03-04 01:23:51 +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 129ad6efaa 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponse.cs:
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.UI/LiteralControl.cs:
	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	* System.Web.UI.HtmlControls/HtmlButton.cs:
	* System.Web.UI.HtmlControls/HtmlControl.cs:
	* System.Web.UI.HtmlControls/HtmlForm.cs:
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
	* System.Web.UI.HtmlControls/HtmlInputControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
	* System.Web.UI.HtmlControls/HtmlInputImage.cs:
	* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputText.cs:
	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	* System.Web.UI.HtmlControls/HtmlTable.cs:
	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	* System.Web.UI.HtmlControls/HtmlTextArea.cs:

	Fixes based on class status page:

		- Add attributes (DefaultEvent, ParseChildren).
		- Fix declarations.
		- Explicitly implement some interfaces (IPostBackDataHandler
		and IPostBackEventHandler).
		- Implemented some missing methods.

svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Gonzalo Paniagua Javier 90f90287e0 2002-06-23 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: implemented more methods/properties.
	* SessionDictionary.cs: New file.

svn path=/trunk/mcs/; revision=5424
2002-06-23 20:58:48 +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