Google Answers Logo
View Question
 
Q: Launch a popup within an .asp page containing a 'redirect' instruction ( No Answer,   1 Comment )
Question  
Subject: Launch a popup within an .asp page containing a 'redirect' instruction
Category: Computers > Internet
Asked by: polidias-ga
List Price: $10.00
Posted: 06 Sep 2005 05:48 PDT
Expires: 07 Sep 2005 05:09 PDT
Question ID: 564748
How can I make a 'window.open' command work in an .asp page, wich has
a redirection to another website? I tried to include it like in an htm
page but it does not work.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Launch a popup within an .asp page containing a 'redirect' instruction
From: mmmars-ga on 06 Sep 2005 10:12 PDT
 
'window.open' will not work with Response.redirect in the same ASP page.

Instead, you can try to use javascript to redirect the page.

<html>
<head>
<script>
window.open('popup.asp');
window.location = 'redirect-to.asp';
</script>
</head>
<body>
</body>
</html>

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy