But, How can I change the SessionID, for using the Client IP as the Index?
The getSession() method retrieves the Session for the client, based on the
SessionID (that normally is based in Cookies or re-writed URLs)
What I need is a way to "force" the SessionID to different value, for
example, the Client IP.

Probably the best way, is simply define a Hashtable as a Context Atributte,
in order to store client status information indexed by the Client IP, and
don't use the Session Tracking API.

-JM

----- Original Message -----
From: "vivek baliga" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 9:01 AM
Subject: Re: Session Tracking based on the Client's IP


> Hi ,
> request.getRemoteAddr() will give u the IP
> Put time with session and compare when there is new request
> jabs
>
>
>
> ----- Original Message -----
> From: "Power-Netz (Schwarz)" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, November 21, 2002 3:33 PM
> Subject: AW: Session Tracking based on the Client's IP
>
>
> > > would have to punch in the code for verification, that would definetly
> > > defeat any script but is less convenient for the user. I would prefer
to
> > > dynamically identify any individual user who uses my service more
> > > than say
> > > 10-15  times in a minute and ban him for an hour or so.
> >
> > Set a cookie and ask for it :-)
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to