Response redirect statement

froggy

Registered User.
Local time
Today, 14:47
Joined
Sep 15, 2006
Messages
13
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?
 
Response.Redirect "InsertNewProfileDHA.asp?Err=" & ERR_USERNAME & "&DivN=" & strDivN
 

Users who are viewing this thread

Back
Top Bottom