Link to home
Start Free TrialLog in
Avatar of voerman
voerman

asked on

Variable in response redirect

I have a variable that is declared by :

<%strLan = Request.QueryString("lan")%>

and a link that is :

<%IF session("ok") = FALSE THEN Response.Redirect "default.asp?login=niet&lan=strLan" %>

But it keeps writing lan=strLan !! I tried everything to get it to display lan=1 or lan=3 (till 8).

Does anybody know how to do this ?
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of voerman
voerman

ASKER

thx that did it, never solved so quick
You are welcome.