Hello! I am a very green ASP user (but a fast learner), and am hoping someone can help me understand why my response.redirect is not redirecting.
Here is the situation:
I have a form on one page that, once a visitor clicks one of 2 buttons, sends visitors to "decision.asp". The "decision.asp" file is purely to re-direct the visitor to one of 2 pages, depending on which button they clicked on the form. Except, all it does is show a blank white page.
Here is the code:
<%
Response.Buffer = True
Whichbuttonclicked = "?"
if Request.Form("Form1") = "ButtonA" then
Whichbuttonclicked = "A"
elseif Request.Form("Form1") = "ButtonB" then
Whichbuttonclicked = "B"
end if
Select Case Whichbuttonclicked
Case "A"
Response.Redirect "buttonA.asp"
Case "B"
Response.Redirect "buttonB.asp"
End Select
If you need additional information, please let me know. I really appreciate any guidance anyone can provide!!
Thank you.