Link to home
Start Free TrialLog in
Avatar of glow060197
glow060197

asked on

redirecting browser in VB-Script

How do you redirect the browser to a new URL in (client side) VBScript?
Avatar of Fonnie
Fonnie

It's not VBScript, but try this:
 <META http-equiv="refresh" content="(time to wait before moving on); url=(url to go to)">
So it could look like this:
 <META http-equiv="refresh" content="10,http:\\www.experts-exchange.com">
 <META http-equiv="refresh" content="10,welcome.htm">
In the second example, the path is relative to the current page, use the first example to go to a different site.
I use this on an IIS4 server, in .ASP and .HTM pages, IE3, IE4, Netscape, works fine.


response.redirect ("index.html")

hope this helps
bye

ASKER CERTIFIED SOLUTION
Avatar of Steve2
Steve2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glow060197

ASKER

thanks