Skip to main content
1-Visitor
Jul 24, 2015 6:38 AM UTC
Question

ThingWorx Login History implementation question?

Logic is as follows:

1.jpg

Lgoin Page => ThingWorx jdbc -> OraleDataBase -> UserLoginHistroy -> Insert

Insert Contents

1.Login Username

2,LginTime etc...

Thing service was implemented

But do not call the login method

Is there any way that can be called?

help me

    1 reply

    1-Visitor
    Jul 27, 2015 12:12 PM UTC

    Currently I do not think there is a way to capture a User logout in a precise way. The security Log might have it as 'Session Expired' depending on the log settings. and I don't think you can set a subscription on session expired.

    Note that session expired doesn't mean time of logout only, but can mean time of browser close or inactivity + session expire setting.

    for the login, you can set a mashup loaded event in the master after the first re-direct from the Form Login screen.

    Translate