Traditional Web: Persistent Login and returning user

When a user interactively logs into our site, we do the standard OS login, but then do additional look ups on that user's data.  This data gets put into session.  If we allow them to select Persistent Login, when they return to the site later is there a way to know they are back and do those additional look ups?   Basically, is there some sort of an event we can hook into and do our lookups when they return?

Solution

Hi Steve,

You can use OnSessionStart for this (https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Traditional_Web/Web_System_Events/On_Session_Start).

You can add this in the User Provider and you can use it to look up the user's info when the session's userid is not equal to NullIdentifier().

Regards,
Lennart

Solution

Hi,

Please, look to this document.

Persistent Login - How to use Persistent vs. Session Logins (Persistent is the default in all of the SilkUI templates)

Cheers

Thanks for the responses.