Equinox Online Help - Language Reference - A to Z
WebRedirect |
|
---|---|
Applies to | |
Syntax | WebRedirect “[url]” |
Action | [statement] Redirects the current page to another page. |
Scope | Used in method language on an ESP page. |
Notes | This will enable you to redirect web pages to any other destination, including other ESP pages, html pages or FTP servers. [url] can be an absolute or relative location. |
Category | Web Server |
See Also | WebBaseDirectory, WebCurrentPage, WebGetCookies, WebGetHeader, WebOutput, WebOutputFile, WebParameter, WebPostData, WebSetCookie, WebSetHeader |
Example | This example redirects the page you have requested to a page called index.htm webRedirect “/index.htm” This example redirects a page to another site altogether: WebRedirect “http://www.anysite.co.uk/anypage.html” |