I wantr to know, How many number of users logged in to
website? can any one answer
Answer Posted / anket dhulekar
Use listeners. Since you want to to know how many users have
logged in, so the login info would be stored in a session.
You can create a filter by extending HttpSessionListener,
and update a static variable when the session is created.
The value of this variable will store the number of users
currently logged on.
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
Why use POJO when I can use hashmap
For which statements does it make sense to use a label?
What is TL and its use?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Write a singleton program?
What’s jboss jbpm?
Which containers use a border layout as their default layout?
What is table mutation and how do you avoid it?
What do you need to set-up a cluster with jboss?
Explain the difference between object state and behavior?
What is the purpose of the finally clause of a try-catch-finally statement?
What is a tasks priority and how is it used in scheduling?
What are the different class loaders used by jvm?
Why is actionform a base class rather than an interface?
Can I run seam with jdk 1.4 and earlier?