Capture users details when logins to the applicaiton

Hello,
Can anyone please, help me with this issue. I am using APEX 3.2 version and I want to capture the details of the user mainly user id; their session id; when he/she logged to the application (Date & Time), which pages did he accessed within the application; ip address. After capturing the details i want to insert these into a sample table. So that I can display the details - such as users last visited date to the application.
Thanks,
Orton

Hello Orton,
Try checking out ApEx's built-in views Utilities > APEX Views. There is a wealth of information in those views. You'll need logging turned on for your application(s) - that is done in Shared Components > Definition. Using this information or summarizations of this information, should get you well on your way. One note - I believe the logs you will be interested in do get cleared automatically (forgive me I don't remember the frequency) so depending on how far back you need to report you may need to set up something to copy this data into your own tables.
Hope this helps,
John

Similar Messages

  • RE: Force user to re-login if the application is idle for awhile!

    Hi,
    I a similar thing a little while ago for an application written in a 4gl (not Forte) running
    windows 95 clients. I ended up dropping out to "C" and using the SDK to install
    hooks which monitored certain mouse and keyboard events to the application.
    It ended up being less than 10 lines of code in the end whereas when I tried
    to do it within the 4gl it was looked like wholesale changes to lots of code.
    This option fell down when the user was reading their help file or updating
    a word document so we added a pop-up which came up at the front of all applications
    on the PC giving the user a further minute to respond so as not to annoy the genuine
    user who was still "there" but doing something else.
    I have not had the chance to try this in Forte yet but it should be possible.
    If you think this might be an option for you I will try and cobble together an
    example.
    Dalton
    ===============================================================
    Dalton Cranston 45 Castle St.,
    GO5 Ltd Reading. RG1 7SN
    E-mail: [email protected] United Kingdom
    URL: www.go5.com Phone: +44 (0)1189 589 555
    Fax: +44 (0)1189 587 467
    -----Original Message-----
    From: Lu Wang X1 [SMTP:[email protected]]
    Sent: 13 February 1998 17:45
    To: [email protected]
    Subject: Force user to re-login if the application is idle for a while!
    Hi;
    For some security reasons, it requires our Forte application to force user to
    re-log into the application if the user doesn't use this application for 10
    minutes. The problem and difficulty to us is that how to determine there is no
    activity going on for this application on the client's PC.
    Any thought and ideas will be greatly appreciated!
    Lu Wang
    Eli Lilly and Company
    [email protected]
    (317)276-5776

    Hi Rick,
    Thanks for the Reply.
    When they are doing some action with RF id system gave DUMP - ITS_TEMPLATE_NOT_FOUND.
    With this is there any efect on Table locking.
    We got the dump on the ITS screen where as at the same time in back end ECC system TABLE data is using.
    Thanks
    Naresh

  • How to find the ME29N 'USER EXIT' when our save the release PO after.

    How to find the ME29N 'USER EXIT' when our save the release PO after.
    which user exit will be used?
    thanks.
    alex.

    Hi,
      process :
        go to tranx code :   ME29N ,
           System---->Status , here copy the program name (SAPLMEGUI),
         go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
         tranx code : CMOD ,  Utilites--->Sap Enanchement,
                                         specify the package name : ME
                                          and execute, displays a list of exits ,
                                 and find out our suitable exit based on requirement.
    check these :   EXIT_SAPMM06E_021
    reg
    Siva

  • Webservice try to resolve a user who never login to the system

    Hi All,
    I'm using usergroup.asmx webservice in the workflow. It works fine for old users (who already logged in to the system)
    If webservice try to resolve a user who never login to the system  it got errored.
    What could be the reason? Can anyone suggest a solution?

    You can use ResolvePrincipals, which performs an action similar to SPWeb.EnsureUser,
    http://msdn.microsoft.com/en-us/library/websvcpeople.people.resolveprincipals(v=office.14).aspx
    Dimitri Ayrapetov (MCSE: SharePoint)

  • How can I do link forgot user id when login to portal.

    In portal when login user can click logon help if he forgot his password. forgot password link in portal logon page | SCN But what if user forgot his user id? How can I do link in whitch on users id mail send his user id.

    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear the Cookies
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

  • Capturing user details

    how can i get the all details like host details, user details,
    machine # , process or session id for a user or process
    that updates a particular table.
    i will use the code provided by you later in a trigger to capture.
    Please help ASAP
    Thanks.

    In Oracle, there are two ways to get a privilege. You can have it granted directly to you, i.e.
    GRANT select any dictionary TO user_nameor the privilege can be granted to a role which is granted to you
    GRANT select any dictionary TO developer_role
    GRANT developer_role TO user_nameOnly privileges granted directly to you are visible in definer's rights stored procedures (the default). If you've been granted privileges via a role, you would be able to query the table at the SQL*Plus prompt, but not inside a PL/SQL block.
    Justin

  • How to drop my goldengate user? When I drop the user ogg ,occured ORA 14452

    HI
    When I drop the user ogg ,occured ORA 14452 ,and i can not kill the session belongs to the user!
    SQL> drop user ogg cascade;
    drop user ogg cascade
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-14452: attempt to create, alter or drop an index on temporary table already in use
    SQL> select sid,serial#,username from v$session where username='OGG';
    SID SERIAL# USERNAME
    227 13581 OGG
    1082 6 OGG
    SQL> alter system kill session '1082,6';
    System altered.
    SQL> select sid,serial#,username from v$session where username='OGG';
    SID SERIAL# USERNAME
    227 13581 OGG
    1082 6 OGG

    if you want to drop goldengate user then u need to run ddl_remove and marker_remove script then u can remove your user
    1.     Navigate to directory (D:\Goldenagte\)where we unzip the Oracle GoldenGate.
    2.     Write below command to connect with oracle database as sysdba.
    D:\GoldenGate> sqlplus username/password@connection_string as sysdba
    [Note: provide the user name and password according to system credentials.]
    SQL> @ddl_disable
    Trigger altered.
    SQL> @ddl_remove
    DDL replication removal script.
    WARNING: this script removes all DDL replication objects and data.
    You will be prompted for the name of a schema for the Oracle GoldenGate database objects.
    NOTE: The schema must be created prior to running this script.
    Enter Oracle GoldenGate schema name:gguser
    Working, please wait ...
    Spooling to file ddl_remove_spool.txt
    Script complete.
    SQL> @marker_remove
    Marker removal script.
    WARNING: this script removes all marker objects and data.
    You will be prompted for the name of a schema for the Oracle GoldenGate database objects.
    NOTE: The schema must be created prior to running this script.
    Enter Oracle GoldenGate schema name:gguser
    PL/SQL procedure successfully completed.
    Sequence dropped.
    Table dropped.
    Script complete.
    SQL> drop user gguser cascade
    Regards
    Sanchit Gupta

  • Sharepoint FBA web application error: Server Error in '/' Application. when login to the web application

    Hello Team,
    I have configured FBA in SharePoint 2010. After the FBA i can get the SQL users using people picker and added users as a site collection admin.
    When i tried to access the site, it shows login page and i have given user name and password then pressed signin button, it's try to redirect the another page and showing below error,
    Server Error in '/' Application.
    Runtime Error 
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 
    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.
    This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
    "An exception occurred when trying to issue security token: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported
    method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title> 
    <style type="text/css"> 
    <!-- 
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} 
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
    .config_source code{font-size:.8em;color:#000000;} 
    pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
    ul,ol{margin:10px 0 10px 40px;} 
    ul.first,ol.first{margin-top:5px;} 
    fieldset{padding:0 15px 10px 15px;} 
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; 
     border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; 
     border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'..
    I checked sharepoint logs and didn't see any log. but i can see below error logged in  Event viewer application logs,
    I tried changing all customErrors mode and still same error.
    Kindly help me on this, how to resolve the issue.
    Thanks in advance.
    JP

    Hi,
    According to your description, my understanding is that the error occurred when you accessed SharePoint site through form based authentication.
    How did you configure the form based authentication?
    Here is a link about the steps required to configure FBA in SharePoint 2010 for your reference, and check the steps to see if there anything wrong in your configuration:
    http://www.codeproject.com/Articles/352841/How-to-Configure-Form-Based-Authentication-FBA-in
    Through the common error message, we cannot find what exactly caused the error.
    Here is a similar thread for you to take a look:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • CRM transaction CRMD_MKTSEG, to capture campaign details when executed

    Hi,
    I need to know how i can capture the campaign details in the transaction CRMD_MKTSEG when the campaign is executed. I need to send the same details to the XI ( Exchange Infrastructure). I tried to search the existing BADI for the transaction but could not find any relevant methods. Can anybody help me on this.
    Can this be done using BAPI?
    Please reply immediately. I have a urgent requirement.
    Thanks
    Chethana

    Its bcoz of the non-existence of some system files ,
    u can ask the Basis admin to install the latest version
    patches,, currently u can use Patch - 24, Check if it helps..

  • What is the user scope when created with the API?

    I noticed that users created with the Adobe Connect API for my meeting/account are always listed in the Administration -> Users and Groups area.  Which probably means that a user's login is only valid for my meetings.  So if they wanted to register or join a meeting controlled by someone else, they would have to re-register or be re-created by that admin.  Is this correct?
    I'm trying to confirm this so that I know how to register a user on my website.  It would be ideal if my website would register the user and also log the user in without the user having to enter a separate password (my website would generate and store the password).  If the API creates a user only for my meetings then this is not a problem.  The user will just always have to go through my website to get to the meeting.  However, if the user created by my Adobe API account can be used to access/register in another person's meetings on Adobe then this approach is not so good because the user would need to know their password.

    yea, guest registration is not an option as I need to restrict access to the meeting.
    My main concern is that another Connect account holder can change the user's password.  If this ever happens, my website would have an old password and would be broken because it wouldn't be able to log the user into their meeting.  This may be a rare case, but the website will be charging for these meetings/webinars.  If the user can't get in at the time of the meeting....  i'll have a lot more problems.
    I guess I'll just need to provide a way for the user to change or enter their own password. 
    Thanks for the info!

  • How to capture user name and date in the database

    How to capture the person name who edits the application and the date of edit in the database...
    Pallavi

    Hi
    There are substitution strings you can use for this purpose.
    1.APP_USER ------is the current user running the application
    2.SYSDATE --------represents the current date on the database server
    APP_USER Syntax
    Bind variable------ :APP_USER
    PL/SQL------- V('APP_USER')
    Substitution string---------- &APP_USER.
    SYSDATE_YYYYMMDD Syntax
    Bind variable------- :SYSDATE_YYYYMMDD
    Direct PL/SQL------- APEX_APPLICATION.G_SYSDATE (DATE DATATYPE)
    PL/SQL-------- V('SYSDATE_YYYYMMDD')
    Your application will be based on a table with primary key column. You create a 'before update trigger' on that table and add columns 'UPDATED_ON' and 'UPDATED_BY' to that table. Add the following to that trigger:
    :NEW.UPDATED_ON := SYSDATE;
    SELECT V('APP_USER') INTO :NEW.UPDATED_BY FROM DUAL;
    -Priyanka

  • Capture user comments when unpublishing a document

    Hi,
    I have a requirement to force the users to enter comments when Unpublishing a document. I have looked around various web sites etc and cant seem to find how to achieve this either by an OOB feature or by developing some form of event receiver.
    Does anyone have an idea or link to site where this functionality is explained. Seems strange tha you can enter comments when publishing but not unpublish.
    Thanks Chris

    Hi,
    According to your post, my understanding is that you want to force the users to enter comments when Unpublish a document.
    We can use jQuery and Client Object Model to achieve it.
    Popup an add comments dialog when click "Unpublish this version" and use
    File.UnPublish method to add the comments.
    https://jqueryui.com/dialog/
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.file.unpublish(v=office.14).aspx
    We can also use SPFile.UnPublish Method in the Event Receiver
    ItemUpdated method.
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.unpublish(v=office.14).aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Can iCloud serve two iPhone users, or do both users have to login with the same Apple ID?

    My wife and I want to use iCloud to sync our calendars.  Do we both need to use the same Apple id tp accomplish this, or can iCluod support two users with seperate Apple ID's?  I can't find a way to do it seperately.

    Each iCloud account is tied to the AppleID used to create it.  So if you each use distinct AppleIDs to create your iCloud accounts then you can each sync your devices independently of eachother (you will also not be sharing the same email account).  If you then wish to share calendars, you can set that up:
    http://support.apple.com/kb/PH2690

  • Before I transfer files from my PC to the new imac should I load office for Mac and parallees? Will this mean I have to open the new account on my imac first and thus have two user accounts when I transfer the PC? I would prefer to only have one account.

    IIt was in my mind to load office then transfer. After to load paralels and transfer my windows system. I have a new copy of office for Mac plus paralels PC to Mac transfer version 8. As this is my first mac (I have ipads and iphones) I am unsure of what to do. Also to confuse matters I use a windows laptop as my sync machine for the phones and ipads (i do have a cloud account with backup) can I transfer both machines to my new imac? I will have a 1tb fusion drive + 2tb time capsule although I only have less than 400GB of data on both machines. Hope this is not too confusing for everyone but I am looking forward to sorting this mess out by just using the one machine.

    Use the Office for Mac and ignore using Parallels for that. If you have PC only apps you have to run that are MS Windows only then consider Parallels. Just transfer your main PC, using Migration Assistant.  If you don't know how then simply read over Pondini's article called Lion or Mountain Lion Setup Assistant tips and look for the section on migrating from a PC. Millions have done what you are about to, it's far from leading edge these days, if you go to an Apple Store to purchase they will offer this as a service, something you might be interested in.

  • How to retrive the user name when we know the user ID in BPM 10g ?

    Hi All,
    I want to retrive the participants name by the participant's id. I have a drop down list where the participants ID is present. Now I will invoke a method on change of this drop down and it will return the name of the choosen Participant ID. Can any body help me to write tha exact code to retrive the exact Name in BPM 10g.
    Thanks in advance~
    Anupam
    Edited by: Anupam on May 15, 2012 9:52 AM

    Hi,
    DirHumanParticipant part = DirHumanParticipant.fetch(session : DirectorySession.currentEngineSession, id : "test");
    logMessage("The display name is "+part.displayName);
    logMessage("The first name is "+part.firstName);
    logMessage("The last name is "+part.lastName);
    HTH
    Edited by: Ruben Vidaurre on 14-may-2012 23:19

Maybe you are looking for

  • SUI file format for California and Ohio

    Hi, Please help me on finding SUI file format 2011 for California and Ohio from their state webiste. CA - http://www.ca.gov/ OH - http://ohio.gov/ Thanks..!!! - Rubeena

  • Authorizations: Dynamic roles

    Hello everybody, We are going to migrate our authorizations from 3.x concept to BI-7. With the new concept we are compelled to respect certain requirements like to include into the single user profile every InfoObject “AuthorizationRelevant” (that ar

  • CS6 Dreamweaver and InDesign quit immediately on startup.

    I have installed CS6 Design and Web Premium on a MacBookPro OS10.9.4 that also has CS5 Design and Web Premium installed.  Photoshop, Illustrator, Bridge, Fireworks and Flash all open without problem. BUT CS6 Dreamweaver and InDesign quit immediately

  • 10.7.5 output control

    I have recently updated my MAcBook Pro to 10.7.5, and then I has to install the latest EFI firmware. the update was OK, but a after the upgrade i noticed that the sound output control for the built-in speaker is greyed out!

  • Targetting an instance of a mc

    hello With AS2 I u sed to do  createEmptyMovieClip("name"+i, ..... ) to create multiple instances of an mc. I ocuuld then target these individual instances I am trying to do a similar thing in AS3 but am stuck. I can create movieclips (easy!) thus; v