Or you could use a select ... case
Code:
with response
select case request.querystring("lang")
case 1
.write "Language 1"
case 2
.write "Language 2"
case else
.redirect index.asp?lang=1
end select
end with
Note assuming the use of querystring given the redirect URL
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|