• Post Reply Bookmark Topic Watch Topic
  • New Topic

detect hits to the jsp in a session

 
Dattatray Sutar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • 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
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!