A
Alexis Faren
Good Easter to all.
I am using this code to raise an Alert and it works fine. What I'd like to do is to redirect the user to the previous page based on this script:
.... OTHER CODE HERE
If NOT rsAccounts.EOF Then
rsAccounts.close
strMSG = "HOLD ON " & UCase(session("LoggedUser")) & "!\n\n"
strMSG = strMsg & "You have already made your selections!\n\n"
strMSG = strMsg & "Email the adminsitrator to have them deleted!"
Response.Write("<" & "script>alert('" & strMSG & "');" & "<" & "/script>")
End if
%>
I've tried using location.href and response.redirect to no avail.
I need to do this right after Response.Write.
Could someone point me in the right direction please?
Thanks to all
I am using this code to raise an Alert and it works fine. What I'd like to do is to redirect the user to the previous page based on this script:
.... OTHER CODE HERE
If NOT rsAccounts.EOF Then
rsAccounts.close
strMSG = "HOLD ON " & UCase(session("LoggedUser")) & "!\n\n"
strMSG = strMsg & "You have already made your selections!\n\n"
strMSG = strMsg & "Email the adminsitrator to have them deleted!"
Response.Write("<" & "script>alert('" & strMSG & "');" & "<" & "/script>")
End if
%>
I've tried using location.href and response.redirect to no avail.
I need to do this right after Response.Write.
Could someone point me in the right direction please?
Thanks to all