• Post Reply Bookmark Topic Watch Topic
  • New Topic

one user per time per page  RSS feed

 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got i jsp page, which i want, only 1 user can access it at any time. that means, when 1 user start accessing the page/pages, those pages will blocked to him and himself only. he can do whatever he allowed to do within his session. by that time, other users that trying to access it, will get some message. only, when the user logout or the user's session expires, other user can then access it.
how can i do it...
can i just do some configuration on tomcat 4.0.2 or, i have to do some servlet/jsp coding for it?....
help!......
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the whole purpose of the servlet / JSP design is to serve many users at "one time" what you want will require custom programming. Make sure you pay attention to what might happen if the user loses the connection in the middle of the session.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!