case matters as well i believe..
Cj
Randy Layman wrote:
> Does the case matter here, or just dropping the "r"?
>
> Randy
>
> > -----Original Message-----
> > From: Corey A. Johnson [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 22, 2001 11:58 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: User IP Address
> >
> >
> > one thing to note that i discovered the hard way.. referrer
> > should be spelled
> > as so:
> >
> > request.getHeader("referer")
> >
> > not sure why... but i beat my head against the wall for an
> > hour... until i
> > tried the alternate spelling...
> >
> > Cj
> >
> >
> >
> > Randy Layman wrote:
> >
> > > request.getRemoteAddr() will get the user's IP Address
> > > requet.getRemoteHost() will do DNS lookup on the address
> > >
> > > request.getHeader("Referrer") is the referrer, I believe.
> > >
> > > Randy
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, June 22, 2001 10:55 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: User IP Address
> > >
> > > Should be able to query the HTTPServletRequest object to get this
> > > information, try looking there
> > > -----Original Message-----
> > > From: Mark Muffett [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, June 22, 2001 9:50 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: User IP Address
> > >
> > > Anyone know if it's possible to use JSP / Tomcat to get
> > user IP addresses
> > > (for logging)? - or any other user info that might go to
> > the server (like
> > > referrer)?
> > >
> > > Ideas and sample code would be very welcome...
> > >
> > > Thanks
> > >
> > > Mark
> >
> > --
> > Corey A. Johnson
> > Creative Network Innovations
> > http://www.cniweb.net/
> > 1-800-CNi-5547 ** 1-321-259-1984
> >
> >
--
Corey A. Johnson
Creative Network Innovations
http://www.cniweb.net/
1-800-CNi-5547 ** 1-321-259-1984