Keep PHP Session live ← Misc. You can use a Javascript Ajax to visit a web page of the same domain in the background to keep the PHP Session live. Here's a jQuery plugin does just that https://github.com/ocombe/jQuery-keepAlive