Commit Graph
87 Commits
Author SHA1 Message Date
Marek Habersack 0b80ac0b50 2007-06-20 Marek Habersack <[email protected]>
* 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
2007-06-20 15:42:36 +00:00
Marek Habersack fa423bc998 2007-01-26 Hubert FONGARNAND <[email protected]>
* SessionSQLServerHandler.cs: differentiate session between applications
	this require to add an AppName column to the aspstatetempsessions table


svn path=/trunk/mcs/; revision=76243
2007-04-25 10:48:00 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Marek Habersack 7ecd1fdc01 Forgotten changelogs
svn path=/trunk/mcs/; revision=69830
2006-12-20 18:43:48 +00:00
Robert Jordan 4f50b7d2ed update BTS info.
svn path=/trunk/mcs/; revision=69114
2006-12-06 16:45:15 +00:00
Robert Jordan 4c03d7acfc 2006-12-06 Robert Jordan <[email protected]>
* SessionSQLServerHandler.cs: Prepare the SQL statements.
	Patch from Hubert FONGARNAND.


svn path=/trunk/mcs/; revision=69113
2006-12-06 16:38:07 +00:00
Miguel de Icaza 90a3832a69 2006-10-12 Hubert FONGARNAND <[email protected]>
Patch from Hubert FONGARNAND
        
        * SessionSQLServerHandler.cs (selectCommand): Instead of using
        SELECT * for pulling the data out of the ASPStateTempSessions,
use
        the explicit column names.  This allows users to change the
table
        and not have any undesired side effects for our code.

        (ReadBytes): This patch corrects a bug too in ReadBytes. The
index parameter
        was not properly used when calculating the size of the data.


svn path=/trunk/mcs/; revision=66601
2006-10-12 14:48:21 +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
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 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