View Full Version : Response redirect statement


froggy
12-11-2006, 05:16 PM
Hi,
I am wondering if any one could help me out with the problem below.

Main page:
<%if Request("Err")="ERR_USERNAME" then %>
<font color="#FF0000">This record is already in the database and cannot be added. Please try again.</font>
<%end if%>

Action page:
Response.Redirect "InsertNewProfileDHA.asp?Err="ERR_USERNAME & "&DivN=" & strDivN

the response redirect statement is giving me problem as in the user is directed to the error message but the information of the DivN is not passed in. I think there is an error at where i place my " is it?

dan-cat
12-11-2006, 07:15 PM
Response.Redirect "InsertNewProfileDHA.asp?Err=" & ERR_USERNAME & "&DivN=" & strDivN