That's why i am not willing to use ip. Can I get the
domain name the request coming from?

Thanks

--- Adrian Janssen <[EMAIL PROTECTED]> wrote:
> Be aware though that machines behind a proxy will
> share the same IP, on an
> internet we-site this can account for 30% of all
> hits.
>
> > -----Original Message-----
> > From: Chuck Hirstius
> [SMTP:[EMAIL PROTECTED]]
> > Sent: 06 February 2003 10:49
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: How do i know who called my
> servlet
> >
> > You should be able to get the IP of the box
> calling your servlet from the
> > HttpServletRequest object like:
> >
> > String clientIPAddr = request.getRemoteAddr();
> >
> > You could then match this up with an expected IP
> or any number of other
> > methods to determine who called you.
> >
> >
> >
> >
> >
> >
> > Jen <[EMAIL PROTECTED]>
> > Sent by: "A mailing list for discussion about Sun
> Microsystem's Java
> > Servlet API Technology."
> <[EMAIL PROTECTED]>
> > 02/06/2003 02:41 PM
> > Please respond to "A mailing list for discussion
> about Sun Microsystem's
> > Java               Servlet API Technology."
> >
> >
> >         To:     [EMAIL PROTECTED]
> >         cc:
> >         Subject:        How do i know who called
> my servlet
> >
> >
> > Hi,
> > I have a servlet that called by other party, i
> would
> > like to do the statistics about who called us. how
> do
> > i know where the request coming from?
> >
> > Thanks
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> >
> >
>

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to