• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

detect hits to the jsp in a session

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to detect the hits or the no. of times the jsp has been accessed in one paticular session.
I require this to deny the access to jsp login page if a malacious user is guessing the password, then he should be denied from accessing the login pagfe after 3 hits.

Thanks in advance
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. You can use session.

Just persist the no. of hits in the session and increment it by 1 on every next hit. You can acheive it using filters. Call it as authentication filter.
[ July 12, 2006: Message edited by: Adeel Ansari ]
 
Dattatray Sutar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Adeel Ansari:
Yes. You can use session.

Just persist the no. of hits in the session and increment it by 1 on every next hit. You can acheive it using filters. Call it as authentication filter.

[ July 12, 2006: Message edited by: Adeel Ansari ]



Can u give me some hint code...cant we have other option than putting the variable in the session..anyway thanks alot for the reply
bye
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic