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
What are the different class loaders used by jvm?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is the purpose of the wait() method?
What are the pros and cons of detached objects?
What is ioc concept & explain it?
How substring() method of string class create memory leaks?
What is synchronization and why is it important?
Java is fully object oriented languages or not?
what is a non-repeatable read?
What are callback interfaces?
Is it possible to stop the execution of a method before completion in a sessionbean?
Describe, in general, how java's garbage collector works?
Is infobus easy to use?
Explain the steps in details to load the server object dynamically?
What is local interface. How values will be passed?