|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: How can I use Response.Redirect in the combination with TARGET= |
From: |
Wouter |
Date: |
5/23/2000 12:56:44 PM |
IP: |
206.191.102.233 |
Redirect doesnt support a target parameter, so you have to use a trick to redirect a different page to a new target frame.
You could use a piece of javascript to do this:
<% if ....... then reason to redirect
Response.write "<script language=javascript>" & vbCrLf
Response.write "parent.YourFrameNameHere.location.href=" & strYourNewURL & ";" & vbCrLf
Response.write "</script>"
Response.End
end if %>
You have to tweak it a bit to your own situation but this works great.
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|