locked
Calculate each user's overall login period. RRS feed

  • Question

  • User944339287 posted

    Hi guys.. I want to create a landing page for logged-in users to visit, and store his/her total login period in the database.

    1) calculation start when the user logged in successfully. (session)
    2) calculation stop when the logged-in user accidentally close that page, or
    3) calculation continue if the user re-login again.

    Please advise how to accomplish my requirement by using session (or other state management)

    TQ~

    Monday, January 4, 2021 3:33 AM

All replies