Commit Graph
85 Commits
Author SHA1 Message Date
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Robert Jordan ada2284700 In .:
2006-09-03  Robert Jordan  <[email protected]>

	* SessionSQLServerHandler.cs: persist and handle the "timeout" and
	"expire" properties of the session. Fixes bug #78281.
	Patch by Boris Dores <[email protected]>.


svn path=/trunk/mcs/; revision=64830
2006-09-03 19:19:22 +00:00
Kornél Pál 2d604bc51e Converted ChangeLogs to UTF-8 and recovered incorrectly encoded characters.
svn path=/trunk/mcs/; revision=63835
2006-08-16 19:42:08 +00:00
Vladimir Krasnov e0d069489b * SessionInProcHandler.jvm.cs:
* SessionStateModule.cs: added NET_2_0 parts into TARGET_J2EE

svn path=/trunk/mcs/; revision=63497
2006-08-08 16:57:39 +00:00
Gonzalo Paniagua Javier 5196f313e5 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* RemoteStateServer.cs: make it inmortal.


svn path=/trunk/mcs/; revision=62800
2006-07-20 08:44:53 +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
Gonzalo Paniagua Javier e9752faf63 2006-06-15 Gonzalo Paniagua Javier <[email protected]>
* SessionId.cs: make the length of the SessionID 24, as MS.


svn path=/trunk/mcs/; revision=61774
2006-06-15 20:58:55 +00:00
Sebastien Pouliot 13f362cbeb 2006-04-19 Sebastien Pouliot <[email protected]>
* SessionConfig.cs: Avoid a cast.
	* SessionDictionary.cs: Remove unused internal methods.
	* SessionId.cs: Const-ify internal/private values.
	* SessionStateModule.cs: Const-ify internal/private values.


svn path=/trunk/mcs/; revision=59653
2006-04-19 17:05:43 +00:00
Konstantin Triger a6fa4bf0d0 remove redundand HttpApplication usage
svn path=/trunk/mcs/; revision=58745
2006-03-29 17:08:41 +00:00
Gonzalo Paniagua Javier 001496e1f2 2006-03-15 Gonzalo Paniagua Javier <[email protected]>
* SessionSQLServerHandler.cs: if the connection to the DB is lost, retry
	the select/update/insert/delete commands after reconnecting.
	Fixes bug #77785.


svn path=/trunk/mcs/; revision=58047
2006-03-15 21:47:57 +00:00
Robert Jordan a3aeabcbae 2006-03-04 Robert Jordan <[email protected]>
* SessionSQLServerHandler.cs: make SQL statements and parameters
	provider independent/configurable.
	* SessionSQLServerHandler.cs (SelectSession): properly dispose
	the data reader. Fixes bug #77698.


svn path=/trunk/mcs/; revision=57587
2006-03-04 22:36:24 +00:00
Chris Toshok 558cca4186 2006-02-28 Chris Toshok <[email protected]>
* IStateRuntime.cs: wrap new interface method with NET_2_0.

svn path=/trunk/mcs/; revision=57420
2006-02-28 19:41:42 +00:00
Chris Toshok c0fea8c79e In System.Web:
2006-02-28  Chris Toshok  <[email protected]>

	* HttpCookieMode.cs: corcompare work.

	* ProcessShutdownReason.cs: same.

	* SiteMapNodeCollection.cs: same.

	* SiteMapNode.cs: same.

	* SiteMapProvider.cs: same.

	* HttpCacheRevalidation.cs: same.

	* HttpCacheability.cs: same.

	* StaticSiteMapProvider.cs: same.

	* HttpValidationStatus.cs: same.
	
In System.Web.SessionState:
	* SessionStateActions.cs: oops, actually rename the enum, not just
	the file.

2006-02-28  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=57414
2006-02-28 19:15:28 +00:00
Chris Toshok af89946383 In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <[email protected]>

	* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <[email protected]>

	* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <[email protected]>

	* ProfileBase.cs: corcompare work.

	* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <[email protected]>

	* SessionStateActions.cs: rename SessionStateActionFlags to this.

	* ISessionIDManager.cs: rename ISessionIDModule to this.

	* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthentication.cs: corcompare work.

	* MembershipCreateUserException.cs: same.

	* MembershipPasswordException.cs: same.

	* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
	2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <[email protected]>

	* IAppDomainFactory.cs: corcompare work.

	* IAppManagerAppDomainFactory.cs: same

	* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <[email protected]>

	* SqlFeatures.cs: corcompare work

	* IRegiisUtility.cs: same.

	* WebEventFormatter.cs: same.

	* RuleFiringRecord.cs: same.

	* SessionStateType.cs: same.

	* WebApplicationInformtion.cs: same.

	* EventNotificationType.cs: same.

	* WebBaseEvent.cs: same.

	* IRegisterCreateITypeLib.cs: nuke


svn path=/trunk/mcs/; revision=57413
2006-02-28 18:56:23 +00:00
Chris Toshok 7c71f1b359 2006-02-01 Chris Toshok <[email protected]>
* SessionStateServerHandler.cs: CONFIGURATION_2_0 => NET_2_0.

	* SessionSQLServerHandler.cs: same.

	* SessionStateModule.cs: same.

	* ISessionHandler.cs: same.

	* SessionInProcHandler.cs: same.


svn path=/trunk/mcs/; revision=56414
2006-02-01 19:53:55 +00:00
Konstantin Triger 88ccfa6ab7 correcting serialization conditions
svn path=/trunk/mcs/; revision=55734
2006-01-18 16:29:08 +00:00
Konstantin Triger 7ac4a39c2f merging HttpSessionState.cs@@/main/19-24
svn path=/trunk/mcs/; revision=55233
2006-01-09 15:59:31 +00:00
Chris Toshok 968ea3d729 2005-11-28 Chris Toshok <[email protected]>
* SessionStateModule.cs: CONFIGURATION_2_0 work.

	* SessionSQLServerHandler.cs: CONFIGURATION_2_0 work.

	* SessionInProcHandler.cs: CONFIGURATION_2_0 work.

	* SessionStateServerHandler.cs: CONFIGURATION_2_0 work.
	
	* ISessionHandler.cs (Init): @config is a SessionStateSection if
	CONFIGURATION_2_0.


svn path=/trunk/mcs/; revision=53603
2005-11-28 23:35:29 +00:00
Gonzalo Paniagua Javier 2a3cf76ffb 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: new SetFilePath() that does not conflict
	with SetCurrentExePath. Now when transfering from a page to another,
	CurrentExecutionFilePath and FilePath are correct.
	* System.Web.SessionState/SessionStateModule.cs: use the new funciton
	in HttpRequest.


svn path=/trunk/mcs/; revision=50559
2005-09-23 03:06:25 +00:00
Jackson Harper ad1f72ec7a * SessionStateModule.cs: Use a concat instead of a format (mucho
faster).
        

svn path=/trunk/mcs/; revision=50536
2005-09-22 20:44:55 +00:00
Gonzalo Paniagua Javier 263772ffe3 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
* SessionStateModule.cs: fix compilation warnings and use the
	application path for the cookie path. This is a temporary fix for 76172.
	* SessionId.cs: don't access the cookie collection twice.


svn path=/trunk/mcs/; revision=50424
2005-09-21 22:11:28 +00:00
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 57018a07c6 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
* SessionStateModule.cs: raise the Start event for new sessions.


svn path=/trunk/mcs/; revision=49743
2005-09-08 21:13:18 +00:00
Eyal Alalouf 32d7dcfd43 TARGET_J2EE fixes
svn path=/trunk/mcs/; revision=49692
2005-09-08 12:54:06 +00:00
Gonzalo Paniagua Javier 353f2dbdd1 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRuntime.cs: remove Console.

	* System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep
	the MethodInfo around for later invocation if needed. Don't call
	GetMethods() for every HttpApplication (or derived class) instances.
	Added a method, used by SessionStateModule, that will create use an
	application without context to invoke Session_End. Keep a pool of
	applications that are meant to be used by this method only.

	* System.Web/HttpApplication.cs: add a SetSession method and do not
	attach all the events if the application is for Session_End only.

	* System.Web.SessionState/SessionStateModule.cs: Only invoke the End
	event using the new method in HttpApplicationFactory and when session
	state mode is InProc.

	Fixes bug #71662.


svn path=/trunk/mcs/; revision=49610
2005-09-07 03:19:02 +00:00
Eyal Alalouf b4cf914e5a TARGET_J2EE/JVM fixes
svn path=/trunk/mcs/; revision=49261
2005-09-01 11:54:56 +00:00
Gonzalo Paniagua Javier e867b56516 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-08-30 23:01:49 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Eyal Alalouf 9191e0c5db TARGET_J2EE ifdef reorder for readability
svn path=/trunk/mcs/; revision=47643
2005-07-25 13:42:03 +00:00
Eyal Alalouf 4f6403082f TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47415
2005-07-19 16:08:09 +00:00
Eyal Alalouf 1f70d33b5d Added servlet binding for the Grasshoper J2EE configuration.
svn path=/trunk/mcs/; revision=47392
2005-07-18 16:29:25 +00:00
Gonzalo Paniagua Javier 00734b45ef typo :)
svn path=/trunk/mcs/; revision=46510
2005-06-25 20:52:40 +00:00
Gonzalo Paniagua Javier 03e7643927 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* SessionInProcHandler.cs: use cache.InsertPrivate.
	* SessionDictionary.cs: fix typo that made Close useless.


svn path=/trunk/mcs/; revision=46509
2005-06-25 20:49:31 +00:00
Ilya Kharmatsky 932abd4c77 svn path=/trunk/mcs/; revision=46210 2005-06-19 09:34:34 +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 10b476e707 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: removed warnigs.


svn path=/trunk/mcs/; revision=43364
2005-04-20 22:21:51 +00:00
Gonzalo Paniagua Javier 7d736eabc2 2005-03-02 Gonzalo Paniagua Javier <[email protected]>
* SessionStateModule.cs:
	* SessionId.cs: share the same RNG for all the instances of
	SessionStateModule.


svn path=/trunk/mcs/; revision=41373
2005-03-02 20:20:16 +00:00
Gonzalo Paniagua Javier 1ec0606eb0 2005-02-05 Gonzalo Paniagua Javier <[email protected]>
* SessionStateModule.cs: hack that makes static files work on sites that
	use the Session object in global.asax. You need to set
	MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit 
	of performance when serving static files. Fixes bug #71133.


svn path=/trunk/mcs/; revision=40193
2005-02-06 00:02:02 +00:00
Gonzalo Paniagua Javier 6b02b28598 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.SessionState/SessionStateModule.cs: set the path modifier
	when using cookie-less sessions.

	* System.Web/HttpResponse.cs: fixed ApplyAppPathModifier to insert the
	session ID.
	* System.Web.UI/Control.cs: fixed ResolveUrl for relative URLs when
	using cookie-less sessions.

	* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
	the appRoot + SessionID + vpath format.

	Fixes the 3 issues reported in bug #66623.


svn path=/trunk/mcs/; revision=36818
2004-11-30 06:33:56 +00:00
Gonzalo Paniagua Javier 6ed6c3f05f forgotten
svn path=/trunk/mcs/; revision=34748
2004-10-06 04:48:57 +00:00
Gonzalo Paniagua Javier 50e3e9fef4 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: CurrentExecutionFilePath is the one that
	changes when Transfer or Execute are used, not FilePath.

	* System.Web/HttpServerUtility.cs: moved form saving/restoring from
	Transfer to Execute, as it's needed there too. the query string is
	correctly set now. Fixes bug #67388.

	* System.Web/HttpContext.cs:
	* System.Web.SessionState/SessionStateModule.cs: use SetCurrentExePath
	instead of SetFilePath.

svn path=/trunk/mcs/; revision=34747
2004-10-06 04:48:39 +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
Sanja Gupta e809bba476 ChangeLog: Updated ChangeLog.
SessionStateItemExpireCallback.cs: Explicit modifier "sealed" not
        required in definition as delegates, by default are sealed.

svn path=/trunk/mcs/; revision=33082
2004-08-31 10:03:27 +00:00
Sanja Gupta d911399a3a ChangeLog: Updated ChangeLog.
SessionStateItemExpireCallback.cs: Added delegate.
SessionStateStoreData.cs: Added a new class.

svn path=/trunk/mcs/; revision=32062
2004-08-09 10:26:46 +00:00
Sanja Gupta 2ecf64849f ChangeLog: Updated ChangeLog.
IHttpSessionState.cs:
ISessionIDModule.cs:
ISessionStateItemCollection.cs: Added new interfaces.

svn path=/trunk/mcs/; revision=31918
2004-08-05 10:42:53 +00:00
Sanja Gupta 64fa4cc158 ChangeLog: Updated ChangeLog.
SessionStateActionFlags.cs: Added enumeration.

svn path=/trunk/mcs/; revision=31799
2004-08-03 13:30:50 +00:00
Juraj Skripsky 60b3b3c049 2004-07-07 Juraj Skripsky <[email protected]>
* SessionStateModule.cs: set path in session cookie to application
        path.

svn path=/trunk/mcs/; revision=30820
2004-07-07 04:53:46 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gert Driesen 23c68894ff * IStateRuntime.cs: added missing marshalling attributes
svn path=/trunk/mcs/; revision=29901
2004-06-18 17:24:05 +00:00
Gonzalo Paniagua Javier d03b6c7fd4 details, details
svn path=/trunk/mcs/; revision=29286
2004-06-11 08:47:09 +00:00