time of the logged in user tracking

I need to build a simple connection and offer a view of the visitor a clip and then disconnect. I need to store it in a database, how long the user was logged in using ASP. Can anyone help? I can make the connection that I just need to know how to connect in time to connected users.

Store the time connecting in a session variable:

Session ("logintime") = now

Calculate the elapsed time in seconds:

DateDiff ("s", Session("logintime"), now)

Tags: Dreamweaver

Similar Questions

  • What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    Hi DaddyJeff,

    1. don't you make changes before the show?
    2. are you referring to the cursor in the area of user password on the login screen of Windows?
    3. when the cursor goes missing, the mouse pointer works on screen?

    It is difficult to say what is causing this problem. If the mouse pointer freezes or stops working, then we recommend you to reinstall the mouse. To do this, try the following steps:
    a. sign in to Windows.
    b. Click Start, click Run, type devmgmt.msc, and then click ok.
    c. in the list of objects, expand mice and other pointing devices.
    d. right click on the sub element and click on uninstall.
    e. unplug the mouse and plug it back.
    f. the Device Manager, select an item in the list, click the Action menu, click scan for hardware changes.
    g. check if the mouse is detected, if so, then install it.

    See mouse USB which is connected to a USB 2.0 hub is not detected by Windows XP


    Note:
    if the problem persists, restore the computer to an earlier time. See How to restore Windows XP to a previous state

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • User name is not filled are in the table of user tracking.

    Hi all

    I use LMS 4.2 I activated the user tracking and I get the ip address, MAC address, host name in the table of user tracking. But enter username in the user tracking is not be filled. I even enabled get the username by guests in the areas of host NTS and ND in the acquisition of user tracking settings.

    Is there something else I have to configure in LMS in order to get the names of users in tracking user table?

    any comments will be appreciated,

    Thanks in advance,

    Rgds,

    Selva

    You must utility utility that integrates with LMS with AD to feed it with user names. Utility is a utility that allows to collect the usernames of PDCs Active Directory and Novell servers.

    To do this, you need to install utility in main domain controllers Windows and Novell servers. You can also install utility in an Active Directory server.

    For more details, see:

    http://www.Cisco.com/en/us/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/Admin/ut_du.html#wp1187865

    -Thank you

  • Show/hide menu based on the logged in user

    Hello

    12.1.3 Jdev

    I want to show/hide some menu items based on the logged in user.

    I will explain the current design:

    In my application, I created a menu as below. (It is created using 'Create or Update ADF Menu' file adfc_config).

    ibis_menu. XML

    <?xml version="1.0" encoding="windows-1252" ?>
    <menu xmlns="http://myfaces.apache.org/trinidad/menu">
      <itemNode id="itemNode_home" label="Home" action="goHome" focusViewId="/home"/>
      <itemNode id="itemNode_transaction" label="Transaction" action="goTransaction" focusViewId="/transaction"/>
      <itemNode id="itemNode_customer" label="Customer" action="goCustomer" focusViewId="/customer"/>
      <itemNode id="itemNode_upload" label="Upload" action="goUpload" focusViewId="/upload"/>
      <itemNode id="itemNode_profile" label="Profile" action="goProfile" focusViewId="/profile"/>
      <itemNode id="itemNode_serviceRequest" label="Service Request" action="goServiceRequest"
                focusViewId="/serviceRequest"/>
      <itemNode id="itemNode_report" label="Report" action="goReport" focusViewId="/report"/>
    </menu>
    

    I have a navigation pane in my Pages that use this menu as below:

    <af:navigationPane hint="bar" id="np1" value="#{ibis_menu}" var="menuInfo">
                            <f:facet name="nodeStamp">
                                <af:commandNavigationItem id="ni1" text="#{menuInfo.label}"
                                                          destination="#{menuInfo.destination}"
                                                          action="#{menuInfo.doAction}"/>
                            </f:facet>
                        </af:navigationPane>
    

    Now, I want to hide some items on the menu, depending on the Type of user loggedIn. I have the userType stored in the managed bean.

    How can I get this feature.

    An approach which I think is as below:

    Define a variable for each itemNode in a managedbean(session scope) and who associate with the property ' visible ' / ' rendering ' of the itemNode in the Menu xml.

    Please let me know is a good way to do it or is there another solution better?

    See you soon

    AJ

    So, maybe this can help:

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/48-sitemenu-protection-169190.PDF

  • How can I get the ENTERPRISE_ID of the logged-on user?

    Hello

    Is there a PL/SQL function that I could use to get the ENTERPRISE_ID of the user logged on so that I can use it in a report query for example as below.

    SELECT package.function

    FROM DUAL;

    "package.function" must be able to return to the ENTERPRISE_ID of the logged in user.

    Kind regards

    Santhosh Jose

    I think that you can access the ENTERPRISE_ID with:

    • SYS_CONTEXT ('FND_VPD_CTX', 'ENTERPRISE_ID')

    Assuming that the ApplCore session has been initialized or alternatively:

    Note that since it is related to the VPD implementation, that you can't question simply through companies, rather restrictions are applied at the level of the table. Also note that since its code internal, it is subject to change without notice.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • [ADF, JDev12.1.3] That is the approach recommended to store the information of the logged-on user?

    Hallo,

    I would like to know which are:

    • approaches possible and advised to store the main information (which will be used throughout the application) of the user that is logged;
    • for each of the approaches that are the main advantages and disadvantages.

    For example

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    The use of HttpsSession back to store the information in a range session bean?

    A scope session bean should be used only to store information?

    Sorry if these question may be stupid but I'm starting to take care of the security of my application and I am a bit confused about the available possibilities.

    I use ADF Essentials, so I can't use ADFSecurity.

    Thank you

    Federico

    I have my doubts if store info in variables private module request or if I'd better use the HttpSession.

    Never use app module variables to store data. If you need to store data in the model project, you can use the UserData card, but you must implement the serialization/deserialization.

    Read this blog post for more information: http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    The use of HttpsSession back to store the information in a range session bean?

    They are similar.

    Difference is that you can put data directly to the session http (as an attribute) and if you use managed bean then keep you data in the attributes of bean and framework will put bean in scope of the session.

    A scope session bean should be used only to store information?

    Well, do not store the amount of data in session bean because it will influence the performance of the server (if the number of users increases you need more RAM, if you assign more RAM to the server it will be time for garbage collection, will also increase if you have clustering then great session bean (s) will increase the time of synchronization of the session) ", etc...)

    Dario

  • [ADF, JDev 12.1.3] How to hide menu items based on the logged in user

    Hallo,

    When the user logs on successfully, the applitacions led him to the main.jspx page.

    The main.jspx page has a menu bar that contains all of the available menus, submenus and menu items.

    After the connection, when the main.jspx page loads I would hide all the menus, submenus and menu items that the user is not qualified to see/use (I read the database).

    You kindly tell me which is the way the cleaner to achieve?

    Thank you

    Federico

    user10709360 wrote:

    Hello rohanwalia,

    Sorry, but I need more help

    I guess that the solution is to create a method in the AM who - reading form the database - returns a structure that indicates for each menu item should be visible or hidden.

    • How can I use the data returned by this method?
    • I call in a managed bean specifically dedicated to the management of the menu? Can I also use the already existing media bean, I created for the page?
    • What scope should have the bean?
    • Don't you think that it is better to define a 'visible' variable Boolean (initilized depending on the result of the AM method) for each menu item and how to bind the Visible property of each menu item to the variable respective in the bean in the bean?
    • Or I can loop the result of the method AM setting the Visible property of the menu items? In this case, I guess that all the menu items must be mapped into the bean by user interface variable. Am I wrong?
    • Is it not possible to write a method which, of the AM directly, hide the menus not necessary on the page (so without using a bean)?
    • In general, which are the correct always to hide menu items:
      • (1) before the page is sent to the browser (as "I can do it with PHP);
      • (2) once the page is loaded in the browser (as I can do it with JavaScript)?

    If you could give me some more detailed advice... I would be very happy.

    Thank you

    Federico

    (1) its best to make the treatment inside the method. You can return the parameters as normal java method.

    (2) Yes, you can use bean already exists in the project. But better to create a separate bean for this task of menu.

    (3) scope should be request unless you need to persist the attributes between requests.

    (4) Yes it is possible. You can define and initialize a Boolean variable with the results you get from the table based on the menu items should be made visible.

    (5) If you use the approach to point 4, then also you have to loop through the table menu items and set Boolean variables of bean. Yes you are right for the second part.

    (6) I'm not sure about this approach. How will you map it to your menu mode. It takes research.

    (7) before the page is loaded. I share with you links in above post with which you can do this.

    I hope this helps.

    Thank you

  • Remove the log-in user

    We have two users on one single computer, two separate log-ins, how can I remove one of the users, all have two access it administration.

    This article describes how to add and remove accounts:

    "How to create and configure user accounts in Windows XP"
      <>http://support.Microsoft.com/kb/279783 >

    HTH,
    JW

  • Same resource get assigned several times for the same account user IDM

    Hello
    I now see a strange scenario in IDM. We have a DB TAG and a scheduled task. When I ran the scheduled task, then it assigns the purpose of resource GTC to the respective accounts in IDM. When I run again the GTC, the same object resource GTC is created once more for the user account. Means, now the user account has two resources GTC in the profile of its resources. It should have been only object resource GTC and update should have been linked to this GTC RO. Purpose in my about his creation of another object of the resource.
    Now, I ran five times GTC and my user now has 5 resource. Please let me Kow what harm I do.


    Thank you
    Kalpana.

    Make sure that this key field is mapped correctly in your recon field mappings. Also, check the areas of the reconciliation of the resource of the GTC.

  • How to determine the logged in user - BI Publisher

    Hello

    I'm building a SQL base report BI Publisher. I use BI Publisher integrated with the E - Business Suite for all users of ebiz can connect to BI Publisher

    I have a requirement that my LOV parameter query must be restricted based on the user connected BI Publisher. I have the required select statement that just asking the connected to the user to provide. But I don't know if there is no variable standard BI can I use in my SQL query

    Thank you
    SouhL

    Published by: SouhL Sep 14, 2008 01:04

    Hey Shashi,

    http://winrichman.blogspot.com/2008/09/how-to-get-logged-in-OBIEE.html

    Use the OPE session variables available as: xdo_user_name

    Select: xdo_user_name of double wil go search, connect it in USER :)

  • Get the logged in user

    Hello"

    I want to create a trigger to check, but I don't have my user name, it is always ANONYMOUS.

    Why?

    Thank you very much.

    create or replace trigger "TABLE1_AAA"

    FRONT

    Update on "table1";

    FOR EACH LINE

    BEGIN

       : new . DAT_UPDATE : = sysdate

       : new . TXT_USER_UPDATE : = ; the user

    END ;

    Hi horses60,

    APP_USERthe current user runs the application. Depending on your authentication model, the value of the user is differently defined.

    This can be solved by using Chains of Substitution

    This is why:

    create or replace trigger "TABLE1_AAA"
    BEFORE
       update on "TABLE1"
    FOR EACH ROW
    BEGIN
       :new.DAT_UPDATE      := sysdate;
       :new.TXT_USER_UPDATE := nvl(v('APP_USER'),USER);
    END;
    

    Regrards,

    Benjamin.

  • How to get the logged in user name of BPM worklist.

    Hello

    In my SOA application I have attached the external form of ADF to human task. In the list of tasks, when the action is run on human task, I want this username to be stored somewhere in the payload or any other variable. Because I want to use this username more far in workflow.so that all configurations are necessary. Please suggest.


    Thank you.

    Hello, please try this feature as below:

    public String getUserLogin() get WorkflowException,
    BPMIdentityException,
    {BPMUnsupportedAttributeException}
    String userId = "";
    IWorkflowServiceClient wfSvcClient;
    ITaskQueryService queryService.
    IWorkflowContext wfContext;

    Get the username of the user login
    String contextStr = ADFWorklistBeanUtil.getWorklistContextId ();
    wfSvcClient = WorkflowService.getWorkflowServiceClient ();
    queryService = wfSvcClient.getTaskQueryService ();
    wfContext = queryService.getWorkflowContext (contextStr);
    userId = wfContext.getUser ();

    Returns the user name;
    }

    Kind regards.

  • Information of the logged-on user does not appear after the user updates their information

    I created 2 pages. Page 1 has a recordset that only displays the users username and password, I made a filter on the recordset as username = var = MM_Username session. When he clicks on update, which is just a link to page 2, they go to page 2 which has a Recordset which filters their modules in the same way and allows them to update their username and password. I used a behavior to update this page as well. Thus, when the user updates their information it modifies the database information and works very well.

    The problem: when the user returns to the page 1 to see their update of username and the password that they have just updated, it is EMPTY. No info displays on the screen, even when I refresh the page. There if MM_Username var isn't refreshing while connected. Because when the user disconnects and connects, it displays new user name and password on page 1.

    It DOES not work when I take the filter out of the 1 Recordset page, but that doesn't make me all good b/c the user must of course only to see their information.

    I'm under DW CS3, php and mysql.

    Help, please! Thank you.

    I know a little php and takes care of everything.

    Great, because this will save my gibberish long habit ;-)

    I m attaching a screenshot of the login page updated the PHP code, which has only three new lines to take custody of.

    Line 1: Add the primary key to the 'users' table to the query

    Line 2: Add function mysql_fetch_row whose resource is the existing variable in $LoginRS

    Line 3: Add the Session Variable MM_user_id and assign the $row variable [0] (see line 2).

    Well, that s, and on other pages, you can define a query such as...

    "SELECT username, password FROM users WHERE id" is equal to the Session Variable MM_user_id

  • Enter the name of the logged-on user

    is it possible to enter the user name of the person who is recorded in the APEX?

    I have a package following changes to a database and at the moment the USER* variable 'ANONYMOUS' poster

    Thank you.

    This should work as long as tolower is a function that is available to your user.

    I think Oracle built-in function is lower (v ('app_user')).

    Earl

  • view the different buttons based on the logged in user

    I have 2 buttons on page 8, HOUSE and ended UP, I'd like to display only one or the other of the user to the application-based.

    This arrangement allows the user to be directed to the appropriate page by right button display based on who the user is, guest or mhamil. Therefore, if the comments connects to the 101 page, then on page 8 the HOME button displayed for them to click to access the 2010 page. If mhamil connects to page 101, then to page 8 so the button COMPLETE poster for them to click on go to page 2001.

    I tried to create the two buttons like URL redirection with a target like this Application Page as an option. Then I put a condition.

    For the button COMPLETE, the condition type is 'value in the expression 1 = expression 2'. In the field of the Expression 1 I tried to: APP_USER and the value of the Expression 2 is mhamil. It did not work. The button FINISH were not demonstrating. I also tried setting in Expression 1: P101_USERNAME and the Expression 2 mhamil, but it did not work. The button FINISH were not demonstrating.

    The two buttons display unconditionally placed on them.

    Any ideas on what I'm doing wrong on my terms, I create?

    Thank you
    Maggie

    Published by: mjhamilton on December 8, 2008 10:16

    Maggie:

    Check if you are using an expression of type "pl/sql" condition works with the expression being

    Upper(:APP_USER) = "MHAMIL";

    CITY

Maybe you are looking for

  • Cannot import address book vcard version 3

    I exported my contacts from my webmail E-mail ISP as a file VCARD.vcf (version 3) - which is the only option that my ISP is also for the export of contacts - but when I try to import this file in the Thunderbird addressbook, none of the fields are fi

  • New camera assistant software

    I have a chicony camera assistant Software on my toshiba laptop version 1.7.140.0157I went to the toshiba Download Center to check for a more recent version, found a version of 1.7.115.0213 I would like to know, pls, which is the most recent version?

  • Cannot print from the computer to the printer

    ON MY COPIER LEXMARK, I CLICK ON 'COPY '... A COPY IS MADE... THE SCREEN THEN GOES TO THE PRINT PAGE... I THEN CLICK ON THE COPY BUTTON NOW.  The ICON OF the PRINTER COMES AND STATES THERE AREN'T A REQUESTED POINT... AND IT WILL NOT BE PRINTED. I REP

  • VC 90 CRT error code

    Help me I have purchase a new digital camera during the installation, I get the VC 90 Crt error code... I don't know now how I can install... What should I do to remedy the situation... I am user P regular not a prodigy... Can someone tell me how to

  • Windows 8 network error: "Ethernet is not a valid ip configuration.

    I've updated from Windows 7 to Windows 8 a few months ago. Since I've updated, sometimes my internet does not work. On troubleshooting, it says "Ethernet is not a valid ip configuration. And sometimes, also said "the default gateway is not available"