i have a button on page1 that calls to page2 which produces a csv file. i'm redirect to page2 but dont actually leave the originating page, hence the csv is produced by another asp but the url doesnt change to the page2, and the redirect in that apage2 doesn't instantiate. WHY?
Example:
:age1.asp::
I'm posting the buttons back to the page and have this at the top:
If Request.Form("qaz") = "csv" Then
Call SendResults()
ElseIf Request.Form("qaz") = "ALLcsv" Then
response.redirect "viewLists1.asp" ' IF I CHANGE THIS TO ANOTHER PAGE IT DOES REDIRECT TO IT
End If
::viewLists1.asp:: ' CSV GETS CREATED SUCCESSFULLY (WITH VALUES)
... END OF CODE:
AFTER I GET PROmpted to save the csv, and i do save it to my desktop, i do not get redirected to "viewList2.asp"
any suggestions
Example:
:age1.asp::
I'm posting the buttons back to the page and have this at the top:
If Request.Form("qaz") = "csv" Then
Call SendResults()
ElseIf Request.Form("qaz") = "ALLcsv" Then
response.redirect "viewLists1.asp" ' IF I CHANGE THIS TO ANOTHER PAGE IT DOES REDIRECT TO IT
End If
::viewLists1.asp:: ' CSV GETS CREATED SUCCESSFULLY (WITH VALUES)
... END OF CODE:
Code:
objRS.MoveNext()
Loop
Response.End
objRS.Close()
Set objRS = Nothing
%>
<%
response.redirect "viewList2.asp"
%>
AFTER I GET PROmpted to save the csv, and i do save it to my desktop, i do not get redirected to "viewList2.asp"
any suggestions