This topic is locked
[SOLVED]

 Highlighting records saved since last login?

4/23/2014 11:58:48
PHPRunner General questions
A
Anapolis author

I am wondering if someone has already created this "action" :
A particular user views records under a certain page tab and then logs out.
When this particular user logs back in, whether an hour or days later,
I can think of, off the top of my head, creating a table where this user's login and logout (or end of session) would save a timestamp that matches the server time.
Then pulling up this information when this user next logs in.
Then compare the timestamps on the records in this table to then do a javascript highlight of just the records "in between timestamps".
On the other hand, I have not used it, but I know PHPRunner can record this kind of information on Users.
Can the PHPRunner Audit records be tapped to provide this kind of HIGHLIGHT New Records since last Session?
Or would piecing this together with Events coding be simpler?
Thanks for your reponses.

Sergey Kornilov admin 4/23/2014

You will need to add a field to the login table that stores the latest login/logout/activity timestamp and highlight all records that were created after that date/time.

A
Anapolis author 4/23/2014



You will need to add a field to the login table that stores the latest login/logout/activity timestamp and highlight all records that were created after that date/time.


Thank you. That sounds like the quickest way!