Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect Page1->Page2->Page3 and Page3->Page1

Status
Not open for further replies.

gradinumcp

IS-IT--Management
Apr 6, 2005
85
US
Hi I have 3 pages: Page1.asp, Page2.asp and Page3.asp.

On Page1.asp

<A href="Page2.asp?loannum=<%=RS("loannum")%>">Send to Page2&nbsp;

On Page2.asp

I have an onlick to this javascript:

<SCRIPT LANGUAGE="JAVASCRIPT">
<!--

function Check()
{

window.open("Page3.asp?loannum=<%=request("Loannum")%>", target="_main");
window.location.reload();
}

//-->
</SCRIPT>

On Page3.asp

I am trying response.redirect ("page1.asp") and it does not work atall. Page 3 just as insert statements and basically nothing to display.

All its doing right now is going from page1 to page2 smoothly. From page2 to page3 also goes and it executes the insert statements on page3 and just refreshes. I want it to instead execute Page3 and go to page 1...

Any clues???

 
I'm confused. In page2:
window.open should be causing your page3.asp page to open in a new window
window.reload should be causing your page2 to refresh

So you should be looking at one window with a refreshed view of Page2.asp and one window sitting on page3.asp

Could you display some of the relevant code for page3? It's difficult to guess why it isn't redirecting without seeing that section of the code.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top