This entry talks about how to solve a common design scenario with different approaches. If you are not interested in the long explanation, you can just take a look the end result of my emulation.
pureessence:
There is no code in there. It's just a url you call to keep your session alive. Whatever it is for your application. It's only an example.
karls:
Thank you for this nice example! i already embedded in my app.
Darwin Santos:
Could you please post the source code of keeAlive.php?
SocialVibe