Tim Evans wrote:
I'm using a meta-refresh construct to redirect a URL:
<meta http-equiv="REFRESH" content="0;url=http://path/to/new/url">
I would like to be able to make this open in a new window, rather than
in the current window. Suggestions? Thanks.
Yes, DON'T!!! Let the user decide when they want to refresh the page,
and when they want to open a new window. You do not control the user's
application, they do. Infact, once the user is viewing your page, they
are in control of that too!
If you're using that as a redirect, as it appears to be, then I suggest
you look into using a .htaccess file to configure your server to do real
redirects. Using meta for redirects is wrong.
You should configure your server to send an HTTP 3xx response, depending
on the reason for the redirect. Take a look at RFC 2616 [1] to
determine which is the most appropriate redirect status code for your
needs, and then configure your .htaccess file appropriately [2]. If
you're server is not using apache, ask in an appropriate newsgroup for
whatever it is. For futher information about this, ask in a general web
server, or an apache newsgroup.
[1]
http://www.rfc-editor.org/rfc/rfc2616.txt
[2]
http://httpd.apache.org/docs-2.0/mod....html#redirect
--
Lachlan Hunt
http://www.lachy.id.au/
Please
sp***********@gmail.com
Thank you.