This topic is locked

How can I avoid errors after session expired

11/19/2014 10:55:16 AM
PHPRunner General questions
J
jackaroo author

I have a project with 2 levels of child tables with inline adding/editing. I have a script in the 'After application initialized' file to unset and destroy the session vaiables after a time.
Once the session has expired, if I click on an inline control, it throws errors, unlike what occurs in a 'non-inline' project, that would return cleanly to the login page.
Is there a way avoid displaying these errors under these circumstances?
Thanks,

Jack

Sergey Kornilov admin 11/19/2014

Unfortunately this is the way how it works. Inline functionality is implemented via AJAX meaning all that session expiration happens behind the scene and use won't see it until he clicks search or proceeds to another table.
Just wanted to add that in PHPRunner 8.0 if user checks off "Remember password" check box while logging in she will be logged in automatically after session expires and there won't be any errors.