Determin how many user log on the site using JSP/Servlet?
Hi all,
Is there a way to determine how many user log on the site using JSP/Sevlet? I'm running Apache 2.x & Tomcat 4.x
I'm trying to get a list of user currently log in the site.
Please help!
Thanks,
-JN-
You could use the HttpSessionBindingListener interface. Every time a user logs into the session put a user object into the session. The user object will implement the HttpSessionBindingListener interface. When the user object is added to a sessiion it recieves an event and it increments a counter. When the session times out or you invalidate the session because the user has logged out the user object will recieve an event and it can then decrement the counter.
This will at least tell how many active user sessions there are.
Similar Messages
-
How many Users Logged in ?
Hi,
I have a peculier requirement. I need to know, how many users logged in, when the system crashed. This is needed before restoring the system. Is there anyway from Unix level, this info can be captured?
This we need for deciding, if system crashed notification to be sent or whom to send.
Thanks,
RajHi,
Why do you need the users? You just restore and then put a message in SM02 when ever the users logins message will be shown.
Regards,
Vamshi. -
How we Can find out How many Users Logon into the Portal those users Names.
Hi Friends
I have one doubt in Portal,
How we can find how many Users Logon into the Portal and how we can find that users Names in Portal.
Regards
Vijay KalluriHello Vijay,
If you are at all interested in a 3rd party application to make your life a bit easier getting stats on your users, you could check out Click Stream by Sweetlets.
Click Stream uses the Usermanagement (UME) API to get more information about the user, groups, roles, LDAP attributes etc. and offers you the ability to filter this information in nearly any report at the click of a button.
Click Stream also uses the PCD API to get information about the pages your users are visiting too.
In the very near future Click Stream will also have iView recording to monitor iViews, telling which iViews have been clicked, etc.
Here are some reviews on the SAP EcoHub from people who have used it: http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream
Please just let me know if you have any question or if you are open to test drive Click Stream. We will certainly help as best as we can.
Good luck. -
How many users can view the same report at the same time in obiee answers
Hi All,
How many users can view the same report at the same time in obiee answers..?
What is max and minimum number of users.
Do we need to increase any system configuration.
Thanks,
Jagadees.Hi,
Many users can view report at same time.It depends on the server if it can accept those many users at same time.If number of users increases OC4J may not work properly.
Refer : http://www.artofbi.com/index.php/2009/10/what-is-oc4j-an-oracle-application-server-distribution-really/
Regards,
Srikanth -
How can i find out how many users can login as sysdba using password file
can any one please tell me how can i find out how many users can login as sysdba using password file
please reply
asifSYS@db102 SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP
SYS TRUE TRUE
SYS@db102 SQL> -
How to know how many user log in days ago
Hi,
how can i know how many users were logged into a system last sunday?
thanksTry going to tcode se16 enter table USR02.
Click on setttings
Click format list
Click choose fields
Click deselect all
Then choose the follow fields:
<b>Field Name Field Label</b>
MANDT Client
BNAME User
USTYP User Type
TRDAT Last Logon Date
LTIME Last Logon Time
click on save/copy
Then enter the date you are looking for in the Last logon date.
Hope this is what youare looking for..
HB -
How to check files in the directory using JSP?.
Hi,
How can i check the file is directory or file and readable or writable and file size and type of file(Ex. jpg, txt, doc., etc). i want to list the specific type of file in the particular directroy.. please help me..
Regards
CHinnaWith the File class, using the methods isFile(), isDirectory(), canRead(), canWrite(), length() and getName()
With File.listFiles() you can get a directory listing. If you want to limit the amount of files returned, you can pass your own FileFilter to it.
http://java.sun.com/javase/6/docs/api/java/io/File.html -
How many Users online at any one time?
Is there any better (/more accurate) way of determining how many users are using Planning at any one time then "Administration >Application>Statistics"?
I've been using the Statistics up until now but it's hardly fit for purpose. The timings look dubious and the same users can be there 20+ times in the same list.
It's not a deal breaker, but would be nice to see if anyone else had any hints on this.
Regards
EdEven after a reset the numbers look very weird. Apparently it's been 6 weeks since I last accessed Planning... I should be fired!
Slightly off topic: My Supporting Detail Detection Cache Usage is at 100%, am I right in thinking I should DECREASE the cache size in the Application Properties as per the Documentation (http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin.pdf - P83)?
Sounds wrong to me.
Any ideas anyone? -
How many users can you have on one account ?
Hi,
I have just created a ID with Adobe Reader for a group to use files stored in cloud. I would like to know how many users can access the account at one time via, mobile devices, ipad, desktops ?I don't know if there is a limit; you do mean the free https://cloud.acrobat.com/ ?
I will move your post to the Acrobat.com forum, where someone hopefully can give you a definitive answer. -
Sharepoint portal goes down Whenever a specific user logs into the portal
hi All,
Sharepoint portal goes down Whenever a specific user logs into the portal
When a specific user logs into the portal , the iis goes down and no one able to access the portal.
once we reset iis then portal works fine .Please help us to identify the root cause for this issue.What is the error message it throws for everyone after that user user logged into the site. Did you encountered the same behavior for the other web application in the same farm as well?
It would be worth to check health of that particular application pool and the account used for it during the time you face the issue.
Veeramani.S -
Is there a way to find how many users are logging on to my site?
Is there a way to find how many users are logging on to my site at a specific time?
Thanks in advance..Is it possible to use an EJB3.1 Singleton beans for this too? (instead of the application context)
Or will this create a bottleneck because of the standard write lock? It wouldn't be thread safe to provide a read lock on a user_counter increment method? -
How many users have logged in the Enterprise portal
Hello Expert,
Please suggest..
Feature required to monitor as how many users have logged in the Enterprise portal 7.0(Portal is Implemented with MDM), so that utilization can be known.
Regards,
VidhanshiHi,
You can wirte the following code to get the logged in user's ID
try {
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
IUser sapUser = wdClientUser.getSAPUser();
IUserAccount[] acct = sapUser.getUserAccounts();
String str = acct[0].getDisplayName();
wdComponentAPI.getMessageManager().reportSuccess("user "+ str);
} catch (WDUMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (UMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
You need security api for using it make sure that is present.
[Find out who is login into the Portal|http://forums.sdn.sap.com/thread.jspa?threadID=1723807]
Hope This is Help full for you!!!
Best Regards
Vijay K -
HOw to find how many users into into r/3 system and when the log in
HI
I need to find who are others log in to R/3 system?
HOw to find how many users into into r/3 system and when the log inHi,
You can also use transaction code AL08 to see the list of users logged on with the transactions they are working on.
Regards,
Venkat -
How to get real time information about how many user are logged in and thei
I use tomcat as my server platform in Ubuntu for a war file.
I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.
Here's the link:http://www.stardeveloper.com/article...1112001&page=1
In order to get users' ip, in jsp, use request.getremotehost() or
request.getremoteaddress() by editing the jsp file.
I wonder if there's some open source software to use for these two purposes.
Thank you!That url is missing a few bits. The ... in the middle doesn't help.
we can count how many active sessions exist by a SessionCounter code.
However, I have to permit HttpSessionListener in web.xml of tomcat.
From other users' experiences, the configuration is complexed and has some errors.And have you tried it? The configuration isn't that complex.
What errors do you mean? Errors in tracking people, variance in the count? Probably related to internet issues and nothing you can do will alleviate them. -
Need to know the API which will extract how many users are added in group..
Hello,
I am working in Oracle Portal. In the portal we have Oracle Indentity Management where we are adding users as well as the group. We are looking for an API which helps us to do that from PL/SQL code. We got it but we have some issue. We know that how to create group, add users to group, delete users from group, delete group but we unable to get how many users already added to the group. Can anybody help me out in this case. It is urgent!
Thanks
Golak SahaHi,
How to check ,how many users are logged in and logged out in oracle ebs 11i/R12.
Please check the following links:
Oracle EBS - Number of Users logged into EBS / Oracle Applications currently
List all users currently logged in on Oracle EBS
Also see forum Search:
Forum Search: Logged In EBS User
Also, in the database level too
Please see:
https://forums.oracle.com/message/9225094#9225094
Do we need to write any trigger for this?
Yes you may, But I personally suggest you not to do so as it may affect performance.
Thanks &
Best Regards,
Maybe you are looking for
-
Creative Cloud not see the license of Adobe ID
Hello, I have a problem. I started studying at the British School of Art and Design and we were issued a license for 1 year Creative Cloud Suite. I activate the license as it was written in the manual and in the settings of my account Adobe ID indic
-
Does the iPad 3 gen, have a voice recorder?
Does the iPad 3rd gen with retina display, have a voice recorder?
-
Order of Queues(Capture/Apply/Propagation) to start and stop the queues
Hi All, We have bi-directional replication using streams.We want to stop and restart it . Would you please help me in deciding the order of different queues(Capture/Apply/Propagation) Thanks in Advance!!! Kind Regards
-
All , I need some user experiences / advice from all regarding the NW04s SR1 upgrade . 1) We are in the blue print phase of an ESS / MSS / LSO implementation through NW04s SR1 with EP7.0 .SO is there any risk in upgrading right now or is it advisabl
-
To-Many relationship and selection from a lookup table
I have a core data table that represents radios called 'Radio' and another that represents types of modulation (AM, FM, USB etc.) called 'Modulation'. I have defined a to-many relationship form 'Radio' to 'Modulation'. The 'Modulation' table is fixed