Print Page | Close Window

redirection if Alexa Toolbar is installed

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=20264
Printed Date: 28 March 2026 at 9:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: redirection if Alexa Toolbar is installed
Posted By: zMaestro
Subject: redirection if Alexa Toolbar is installed
Date Posted: 11 June 2006 at 9:59am
Hi,
I want to redirect all users that are installing Alexa Toolbar to a certain page. From the HTTP_USER_AGENT I can know whether the client has Alexa toolbar installed or not, What is the simplist way to make a redirection, like saying:
 
IF Request.ServerVariable("HTTP_USER_AGENT") LIKE '%Alexa%' Then Response.Redirect "Alexa.asp"
 
Thanks.



Replies:
Posted By: Mart
Date Posted: 11 June 2006 at 10:32am
If InStr(LCase(Request.ServerVariables("HTTP_USER_AGENT")), "alexa") > 0 Then Response.Redirect "Alexa.asp"


Posted By: zMaestro
Date Posted: 11 June 2006 at 4:22pm
Thanks...
 
Is there any equivlent for this ASP code in JavaScript?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net