...

View Full Version : Custom page with response.redirect



JustAsking
02-03-2003, 03:19 AM
When I use response.redirect, I would like to know whether there is a way I can customise the page I am redirecting to so that there is no address bar etc..

Response.Redirect ("window.open('" + username + ".htm"','','width=500,height=500')")

Like when I use this:



onclick="window.open('http://www.site.com','','width=500,height=500,scrollbars,resizable')"

oracleguy
02-03-2003, 06:54 AM
Refer here:

http://www.codingforums.com/showthread.php?s=&threadid=13988

This is basically what your asking right?

JustAsking
02-04-2003, 12:54 AM
Hi peeps,

Is there a particular reason as to why when the pop-up window opens the content in the previous window disappears and you need to refresh the window to get the content back.

Any ideas?

BigDaddy
02-04-2003, 06:09 AM
My guess would be because you're redirecting to the new window.

The old window is not supposed to be active--the one you're now being directed to is the active one.

why not just ?
<%

<script>

("window.open('" + username
+ ".htm"','','width=500,height=500')"

</script>

%>

whammy
02-04-2003, 10:48 PM
I'd definitely take a look at Allida77's sample code in the thread that oracleguy posted.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum