mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='http://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='http://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Collapse <a href='http://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/aggregations' title='SobekCM.Engine_Library.Aggregations'>Aggregations Sub-Namespace</a>Aggregations Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/applicationstate' title='SobekCM.Engine_Library.ApplicationState'>ApplicationState Sub-Namespace</a>ApplicationState Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/configuration' title='SobekCM.Engine_Library.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database' title='SobekCM.Engine_Library.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/email' title='SobekCM.Engine_Library.Email'>Email Sub-Namespace</a>Email Sub-Namespace
Collapse <a href='http://sobekrepository.org/codehelp/engine_library/endpoints' title='SobekCM.Engine_Library.Endpoints'>Endpoints Sub-Namespace</a>Endpoints Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/iprangeutilities' title='SobekCM.Engine_Library.IpRangeUtilities'>IpRangeUtilities Sub-Namespace</a>IpRangeUtilities Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/items' title='SobekCM.Engine_Library.Items'>Items Sub-Namespace</a>Items Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/json_client_helpers' title='SobekCM.Engine_Library.JSON_Client_Helpers'>JSON_Client_Helpers Sub-Namespace</a>JSON_Client_Helpers Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/navigation' title='SobekCM.Engine_Library.Navigation'>Navigation Sub-Namespace</a>Navigation Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/settings' title='SobekCM.Engine_Library.Settings'>Settings Sub-Namespace</a>Settings Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/sitemap' title='SobekCM.Engine_Library.SiteMap'>SiteMap Sub-Namespace</a>SiteMap Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/skins' title='SobekCM.Engine_Library.Skins'>Skins Sub-Namespace</a>Skins Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/solr' title='SobekCM.Engine_Library.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/extensionmethods' title='ExtensionMethods Class'>ExtensionMethods</a>ExtensionMethods
Expand <a href='http://sobekrepository.org/codehelp/engine_library/microservicehandler' title='MicroserviceHandler Class'>MicroserviceHandler</a>MicroserviceHandler
Expand <a href='http://sobekrepository.org/codehelp/engine_library/microservicerewriter' title='MicroserviceRewriter Class'>MicroserviceRewriter</a>MicroserviceRewriter
Expand <a href='http://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='http://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

WebContentServices.Has_Redirects Method



Returns a flag indicating if there are any global redirects within the web content system


Namespace: SobekCM.Engine_Library.Endpoints
Assembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public void Has_Redirects(
	HttpResponse Response,
	List<string> UrlSegments,
	NameValueCollection QueryString,
	Microservice_Endpoint_Protocol_Enum Protocol,
	bool IsDebug
)

Parameters

Response
Type: System.Web..::..HttpResponse
UrlSegments
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
QueryString
Type: System.Collections.Specialized..::..NameValueCollection
Protocol
Type: SobekCM.Core.Configuration.Engine..::..Microservice_Endpoint_Protocol_Enum
IsDebug
Type: System..::..Boolean

Remarks

This is not the most efficient way to verify existence of the rediects since this actually pulls the entire list of redirects from the database. However, this will likely be cached and be needed immediately anyway.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )