<%
 Enumeration names = request.getHeaderNames();
 while(names.hasMoreElements()) {
  out.write(names.nextElement()+" =
"+request.getHeader((String)names.nextElement())+"<br>");
 }
%>

Kyle Wayne Kelly
(504)391-3985
http://www.cs.uno.edu/~kkelly
----- Original Message -----
From: "Corey A. Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 4:17 PM
Subject: Re: Is there a way to get the Referrer information from a request?


> how did you print out all the header info?
>
> Cj
>
> Beth Kelly wrote:
>
> > Good points.  I printed out all of the headers fields, and values.  The
> > header does not contain a Referrer, Referer, referer, or referrer field.
> >
> > Kyle Wayne Kelly
> > (504)391-3985
> > http://www.cs.uno.edu/~kkelly
> > ----- Original Message -----
> > From: "Dan Garcia" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 02, 2001 3:20 PM
> > Subject: Re: Is there a way to get the Referrer information from a
request?
> >
> > > On Thu, 2 Aug 2001, Beth Kelly wrote:
> > > > I have read that a million times, but that field is not in the
header
> > > > either.
> > >
> > > I notice you keep writing it as referrer in your emails, however the
> > proper
> > > spelling fr the -header- is referer - one r :)
> > >
> > > Note: that sometimes there won't be a referer...
> > >
> > > --Dg
> > >
> > > > Kyle Wayne Kelly
> > > > (504)391-3985
> > > > http://www.cs.uno.edu/~kkelly
> > > > ----- Original Message -----
> > > > From: "Corey A. Johnson" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 02, 2001 3:05 PM
> > > > Subject: Re: Is there a way to get the Referrer information from a
> > request?
> > > >
> > > >
> > > > > this will do it:
> > > > >
> > > > > request.getHeader("referer");
> > > > >
> > > > > purposely misspell referrer.
> > > > >
> > > > > Kyle Wayne Kelly wrote:
> > > > >
> > > > > > I printed out the html header, and it did not include the
referrer
> > > > field.
> > > > > > Is there another way to get the referrer field?
> > > > > >
> > > > > > Kyle Wayne Kelly
> > > > > > (504)391-3985
> > > > > > http://www.cs.uno.edu/~kkelly
> > > > >
> > > > > --
> > > > > corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547
> > > > >
> > > > >
> > > >
> > > >
> > >
>
> --
> corey a. johnson <><> cni <><> 1.321.259.1984 <><> 1.800.264.5547
>
>
>


Reply via email to