Solved

ASP HTTP_REFERER different in ie4 and nav4

Posted on 1998-08-27
3
186 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 70 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

726 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