Server-side function | |
Implemented in | LiveWire 1.0 |
redirect(location)
location | The URL to which you want to redirect the client. |
redirect
function is a top-level server-side JavaScript function that is not associated with any object.
The redirect
function redirects the client browser to the URL specified by the location
parameter. The value of location
can be relative or absolute.
redirect
function to redirect a client browser:redirect("http://www.royalairways.com/lw/apps/newhome.html")The page displayed by the
newhome.html
link could contain content such as the following:<H1>New location</H1>
The URL you tried to access has been moved to:<BR>
<LI><A HREF=http://www.royalairways.com/lw/apps/index.html>
http://www.royalairways.com/lw/apps/index.html</A>
<P>This notice will remain until 12/31/97.
addClient
Last Updated: 10/31/97 16:38:00