Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect depending on Lcid Property

Status
Not open for further replies.

tyant

Programmer
Jun 1, 2001
68
AU
How do I redirect depending on a property

e.g If I use the lcid properties to redirect can anybody give me an example of the code.

If session.lcid = 1033 then
Response.Redirect = indexusa.htm
ElseIf
session.lcid = 1044 then
Response.Redirect = indexitaly.htm
End If

I know the above code is not write but can anybody give me an example of the proper code I would use or even send me an Example
 
Hi,

I havent tried it but something along the lines of,,

If session.lcid = 1033 then
strRedirect = indexusa.htm
ElseIf
session.lcid = 1044 then
strRedirect = indexitaly.htm
End If
Response.Redirect(strRedirect)

should be somwhere near.


I dont want to go to Chelsea!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top