Skip Navigation LinksHome > Response Redirect Control > Free Download
Title Type Author Date Size Tags
Response Redirect Control - version 1.0 .zip October 31, 2009 3.63 KB Download

Version 1.0

Download and unzip the archive file.

 

The downloaded zip archive contains 3 files:

  • App_Web_responseredirect.ascx.4651b6ae.dll - copy this file to your ~/bin folder
  • ResponseRedirect.ascx - upload this file using the Sitefinity CMS built-in functionality (Page edit mode >> Upload a control). We recommend uploading the user control file to a separate group corresponding to the publisher of the control, e.g. "Data Universal", in order to avoid file name conflicts across publishers; choose "no" when prompted whether a code-behind file will be uploaded
  • readme.txt - for information only; it provides the element that should be added to the web.config file, <appSettings> section. This application setting is the default value for "User Agent Keyword List" control property.

Version 1.0

The following are available in the "Main" category:

  • RedirectURL - The URL to redirect the browser to if the User Agent contains any of the comma-delimited keywords enumerated in UserAgentKeywordList property.
  • RedirectTheseRequests - 'All' - all requests have the response redirected to the URL specified in the RedirectURL property. 'UserAgent_Keyword' - only requests with the user agent containing at least one keyword specified in the UserAgentKeywordList property.
  • DoNotRedirectForReferrerURL - Don't redirect if the Referrer URL starts with this value. Applicable only when RedirectTheseRequests = 'UserAgent_Keyword'.
  • UserAgentKeywordList - Comma-delimited list of keywords to check for in the browser User Agent. If the User Agent contains at least one keyword, the redirect is allowed.

 

Important: A page that uses this control should not be cached (Page > Properties > Performance > Enable caching option= unchecked)

Version 1.0

Initial version.