Commit Graph
7 Commits
Author SHA1 Message Date
Marek Habersack b92349a289 2008-04-28 Marek Habersack <[email protected]>
* 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
2008-04-28 13:35:02 +00:00
Marek Habersack 434e59e4bc Implementation of the 2.0 session state model
svn path=/trunk/mcs/; revision=69828
2006-12-20 18:34:00 +00:00
Gonzalo Paniagua Javier 8f6c69fd02 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* RemoteStateServer.cs: use a Cache instead of a Hashtable so that we
	get sliding expiration for free.
	* StateServerItem.cs: expose 'timeout' through a property.


svn path=/trunk/mcs/; revision=62799
2006-07-20 08:37:44 +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 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 6d33b34794 * RemoteStateServer.cs: Update the session dictionary data and the
static objects data.
	* SessionDictionary.cs: Remove type serialization methods, these
	have been moved to a utility class. Add convenience methods for
	converting to/from byte arrays.
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: Save/Restore static objects. Use new
	to/from byte array methods.
	* StateServerItem.cs: Hold static objects data.

svn path=/trunk/mcs/; revision=20439
2003-11-25 21:43:29 +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