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

x
?
Solved

ASP HTTP_REFERER different in ie4 and nav4

Posted on 1998-08-27
3
Medium Priority
?
191 Views
Last Modified: 2013-12-25
I want to check the HTTP_REFERER value in a page contained within a frameset and take some action depending on the referer.  If the user has Nav4 then the referer is the page prior to the frameset, if they have IE4 then the referer is the frameset page itself.i.e say user is at page A and clicks a link to page B which is a frameset containing page C, then if the browser is ie4 then page C is told the referer is page B, if nav4 then page C is told the referer is page A.
So, is there some existing way in ASP to find out what the browser is, or do I need to download a component???
0
Comment
Question by:Asker
[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 10

Accepted Solution

by:
MasseyM earned 280 total points
ID: 1854613
You can use this code to determine the browser....

<% Set BT = Server.CreateObject("MSWC.BrowserType")
BType = BT.browser
Vnum  = BT.version
%>

variable BType will give you the Browser Name (IE or NS)
VNum will give you (4 for IE, or 4.0 for NS)

There you go... This is built into IIS3 & 4 so no more needed components...
0
 

Author Comment

by:Asker
ID: 1854614
Cheers!! - only problem Ive found is the my IIS 3.0 server doesnt recognise IE4 or nav4 (the component must be outdated - will have to upgrade component).
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854615
No, you just need to download a new ini file.. Check this link to download a new browscap.ini file...

http://www.cyscape.com/asp/browscap/

This will update the browsers that ASP can detect.. BTW, sorry for such a slow rsponse... Been REAL busy...

0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

604 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