I believe you could create a filter (in Tapestry 4) that could
intercept requests and work with a session-based object.  The session
object would need to keep a list of timestamps of recent accesses.
With this, it could determine if a user has slipped over your
threshold, at which point you could, say, redirect the user to a
static HTML page warning them of their transgression.

These filters can be added to Tapestry's WebRequestProcessor pipeline.

I'd love to know what your underlying use-case is.

On 1/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
If I want to limit the number of clicks page views per second for every user,
how would I do that inside Tapestry?

Would that go into the BaseEngine ?

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




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to