I can suggest the following method:
In PHP (or any other technology)
In tersusapp, create loginview which should contain an init process similar to the following:
Display Actions/Get View Parameters queries the URL and returns the parameter(s) specified as exit(s).
Get User by Token, should query the database for the user (and probably perform some additional modeling such as checking expiration time, and deleting the token).
Security/Set Logged-in User does just that
Reload Application causes the client to reload the application with permissions applicable to the currently logged in user.
An alternate implementation may make use of cookies (set in PHP, and read in Tersus, using Display Actions/Set Cookie).
Regards,
David
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign