Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Variable in response redirect

Posted on 2003-11-14
3
Medium Priority
?
236 Views
Last Modified: 2008-03-04
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 ?
0
Comment
Question by:voerman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 160 total points
ID: 9748018
Hi voerman,

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

Should do it.

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 

Author Comment

by:voerman
ID: 9748073
thx that did it, never solved so quick
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 9748139
You are welcome.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question