A way to know who long the user access the application

Hi
<%session.getLastAccessedTime();
out.println(new java.util.Date(session.getLastAccessedTime()));%>
can catch the user login time, how can I catch the user logout time and How long they access?
thank you

What does this have to do with JDBC?
But to help you, I would say to calculate the stuff yourself in whatever page lies behind the link when the user presses the logout button and/or link.
Or, to use a SessionListener and calculate as above to catch timed-out sessions. If you do this, then do not do the above, or it will get calculated twice.
If you have further questions then please post to the correct forum.
http://forum.java.sun.com/forum.jspa?forumID=331

Similar Messages

  • Can you tell me  how to know who deleted the user?

    Hi
    In my system, one user ID was deleted,
    Can I know who deleted  this User ID?
    Is there any table or Function Module to know it ?
    Regards,

    Hi,
    i think There is no way to find the user who deleted the user id.For more details see the link below:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/how-to-find-deleted-sap-jobs-1815715.
    Regards,
    Rahul

  • I bought a used iPhone on ebay.  when I try to activate it, I get a message that the owner needs to sign in to the device with their appleID and password.  I have no way of knowing who the owner is.  How can I get around this?

    I bought a used iPhone on ebay.  when I try to activate it, I get a message that the owner needs to sign in to the device with their appleID and password.  I have no way of knowing who the owner is.  How can I get around this?

    Check the eBay listing. Did it state the device was Activation Locked? If not, then make a claim as Meg stated and get a refund. You will not be able to activate the phone and no one can help you contact the owner, unless that is the person that sold the device. If they cannot remove the phone from their account because it is not theirs, then refund is your route. Even Apple cannot assist with locating the previous owner.

  • Is there a way to know who are accessing our SAP instances.

    Hello Friends,
    We have 2 servers (one for ERP and another for XI). Is there a way to know who are all accessing our servers from outside ?
    Also, which are user IDs other than SAP* and j2ee_admin that has admin rights for which we have to change the password once a consultant leaves the company.
    Your suggestions and recommendations will be highly appreciated.
    Thanks
    Ram

    Hi Ram,
    We have 2 servers (one for ERP and another for XI). Is there a way to know who are all accessing our servers from outside ?
    SMGW --> Goto --> Logged on Clients
    Also, which are user IDs other than SAP* and j2ee_admin that has admin rights for which we have to change the password once a consultant leaves the company.
    SUIM --> User --> By Critical Combinations of Authorizations at Transaction Start
    Hope this will help.
    -Pinkle

  • Know who did the export

    Is there a way to know you ran the export. i mean like the os user to ran the export not system or whatsoever.

    You don't specify whether this is a data pump export or a conventional export. If data pump then the file is created at the OS level by the server process and hence the owner of the file will always the software owner (i.e. "oracle").
    Best way to track it would be through auditing. Regular auditing will show you who's accessing the objects. And you can correlate back to the OS user from auditing the CREATE SESSION event.

  • My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    Lynne130,
    to figure out which users have administrative privileges, open the Users & Groups pane of System Preferences; each user other than the Guest User will be shown with a description of either “Admin” or “Standard”. It’s typical for the first user created on a Mac to be an administrative user.

  • How to know how long the dba jobs ran?

    How would I know how long the dba jobs ran.I am not sure about dba_jobs.total_time.Is there any way or data dictionary to find the how long the dba jobs ran?

    Hi,
    Oracle recommends use of dbms_scheduler rather than dbms_job on 10g or higher.
    If you do switch to dbms_scheduler, run duration for all job runs is available in the all_scheduler_job_run_details view and the run duration of the last job run is available from the all_scheduler_jobs views.
    This is one of the several benefits to switching to dbms_scheduler.
    Hope this helps,
    Ravi.

  • Anyone know who writes the bios of artists for iTunes?

    Does anyone know who writes the bios of artists for iTunes?

    Hello Brian92345, You might want to take a look at this Link  for the information on the HP Motherboard Replacement Program.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

  • How to know how long the roll back is left?

    Hi, experts,
    I run a insert statment for about half hour. I just broke the procedure by clicking the break button in pl/sql. I want to know how long the roll back is left.
    Thanks

    pl/sql has a break button?
    assuming that you're using some gui tool, and hit a break button while executing some pl/sql - when the "break" is hit, the gui either rolls back the transaction or it leaves the transaction alone, waiting for you to either commit or rollback.
    the rollback will stay there until the transaction is either committed or rolled back.
    when the session disconnects, it will either rollback or commit the transaction (depending on the tool).

  • Someone knows who is the manufacturer of the CB68LP SCSI2 connector?

    Hi, I've a bit problem.
    I've designed my own PCB board for special signal conditioning. My surprise has been when I was going to solder the SCSI2 connector and i see that is not a standar SCSI2 connector. All connectors i've seen from HARTING, AMP, Farnell, RS have the large part on side up and the short part on side down of the connector viewed from the front. The connector of the CB68LP Board is different. It has the large part on side down and the short part on side up viewed from the front of the board.
    Well, my question is if someone knows who is the manufacturer or equivalent of this connector.
    Thank's.
    Jordi Martínez

    Hi,
    I've seen the cross reference table from Excel file in the link below and exists an error with the part number of AMP connectors.
    http://digital.ni.com/public.nsf/ad0f282819902a1986256f79005462b1/8ecf4bad615f18bc8625648400521e97/$...
    I've purchased the AMP part but is not the same connector of the CB-68LPR Terminal Block from National Instrument.
    I attach a picture and you can see the difference. One is looking downward and the other upward, then my pcb don't matches ok with the pinout of connector.
    Someone can help me?
    Thank you very much.
    Attachments:
    IMG_0521.JPG ‏183 KB

  • I have an iPhone 5S. Does anyone know who manufactures the SIM card verizon uses for the 5S? Thank you.

    Hello. I have an iPhone 5S. Does anyone know who manufactures the SIM card Verizon uses in the 5S? Thank you.

    Hello Erin and thank you for your quick reply.
    My concern is in regards to the recent revelation that the NSA hacked into Gemalto's systems and has access to the encryption keys for SIM cards that Gemalto has produced over the last five years.
    https://firstlook.org/theintercept/2015/02/19/great-sim-heist/
    Matt

  • Is there a way to know what uses the 3gdata in my iphone? ex:  what app or ios fonction...

    i have 21474k on my bill frequently, sometime when i sleep my data is unsed like this and i cant find where it come from.  is it an app? is it ios6?  is there a way to know how our data is used?

    Hi answeet,
    Welcome to the Support Communities!
    The article below may be able to help you with this:
    iOS: About cellular data usage
    http://support.apple.com/kb/HT4146
    Cheers,
    - Judy

  • Any ways to know which is the latest track ?

    Hi there,
    I am in deep trouble now.
    I record my friend singing. I also video him singing separately.
    The problem is that I did 5 takes, all on a separate track.
    I know on the video side, the latest one is the correct video. Problem is I don't know which track is correct track to sync with the video.
    Any ways to see what time the track are recorded at ?
    Thanks

    If you absolutely need to, you can go into the GarageBand project itself and look at the creation times of the media. Just be careful while rooting around in there.
    1. right click (control-click) the GarageBand project.
    2. Select "Show Package Contents"
    3. Open the Media Folder
    4. Select the files and look at the creation dates/times via the column view or list view.
    Once you you have determined the correct file, hold down option and drag it to the desktop. Holding down option while dragging and dropping will create a copy of the file as opposed to moving it. (We don't want to move it.)
    Then, Open GarageBand, Create a new Project, and drag the new audio file onto the time line.
    Hope this helps!

  • How do you know how long the total presentation is?

    I'm new to making keynote presentations and it needs to only be so long.  How can I tell how long it is in total length?

    Did you record it to set the timing? If you did, the easiest way is to go to the Finder and right click (control click) the file icon and Show Package Content (see below if you don't have this option). Then look for the file titled narrationTrack0.m4a and open that in Quicktime. Then you can see how long your Keynote will be.
    If you have not recorded the slideshow and are just manually advancing the slides as you talk over them, then you can go to the Play Menu>Rehearse Slidshow and it will have a timer on it so you can see how long it takes you to click through.
    If you don't have the option to Show Package Content, follow these steps
    Go to the Finder and find your Keynote file and make sure that it has the .key extension on it. If it doesn't, click it and command i to view info and uncheck the box that says Hide Extension.
    Delete the .key and change to .zip and then click the use .zip in the dialog box that comes up
    Double click the new .zip file and it will change it to a folder
    Open the folder and will see all the files that make up your Keynote
    When you have done what you need with the files, close the folder and add .key to the end of the name and click Add in the dialog box (this will change it back to a Keynote file)

  • How do I grant non-logged in user access to application component?

    I want to make the customization page for a report available on
    our portal available to users without them having to log on to
    our portal. I thought I set up the access rights to the
    application component correctly, but the link takes them to the
    login screen instead of the customization page. Can anyone give
    me an idea of what I may have set wrong?

    Hi Greggor,
    You say they are still logged in after a restart?? if you open task manager and look under users are the session aside yours listed?
    Thanks,
    Adam

Maybe you are looking for