[REBOL] Re: How to cgi redirect?
From: jason:cunliffe:verizon at: 24-Oct-2002 10:10
Hi Ed
Thanks for such a detailed answer.
Q1. How do you know this and is there a particular resource you suggest to
verify these issues?
Q2. If JavaScript is turned off, can you suggest a strategy to detect/handle
that? What do you suppose are the stats on JavaScript disabling?
Q3. Is there any way to do the redirect without JavaScript dependency?
Q4. Are you saying that the back button triggers the replace() event ?
> Tip: To avoid mangling the functionality of the
> browser Back button (due to the redirect), use the
> replace function instead:
>
> <script language="JavaScript">
> <!--
> if (document.images)
>
> location.replace('http://somesite.com/somepage.html');
> else
> location.href='http://somesite.com/somepage.html';
> //-->
> </script>
>
> I wish more sites would use this technique.
thanks
./Jason