I have a page withing my app that is built entirely on jQuery AJAX. All fine and dandy, user experience is lovely, but an issue which I have been unable to fix is session timeout.
Despite various attempts to add a "heartbeat" (including posting to a custom http handler that updates a session variable and loading a blank page to an iframe to ensure the page lifecycle completes) I still religiously get an authentication error.
As far as I can tell the ASPXAUTH cookie is not being updated as I would hope, the timeout period elapses and then I get my error. The next time my "heatbeat" fires however the server gives me a new cookie and then I'm fine until the next timeout.
Any insight would be greatly appreciated.
Thanks in advance.