This topic is locked

how to keep session active

9/18/2013 6:02:47 PM
PHPRunner General questions
W
wfcentral author

this is going to sound weird... but, there were some ways I needed to do data that were just easier to hand-code. I add them into my phprunner project through an iframe.
So, the user gets to that page and then they might interact with that iframe for 15 minutes or more. When they get done they click on a tab in the interface (phprunner part) and it says the session has timed out - well, that is true because they have not really interacted with phprunner during the time they were using the iframe area.
How can I keep the session active while they use the embedded external pages. Is there something I can put in there to keep pinging the phprunner session?

Sergey Kornilov admin 9/19/2013

Yes, you need to find some way to ping PHPRunner application on timely fashion. This would be some sort of code added to your main application that pings one of PHPRunner list pages via AJAX call every few minutes.
Another option - you can reload PHPRunner list page itself every ten minutes or so. Here is the article that explains how to do so:

http://www.asprunner.com/forums/topic/16494-auto-refresh-list-page-every-10-seconds/