A buddy of mine, Raymond Camden, posted an interesting question on his
blog:
"How can you timeout a session in an Ajax-based application?"
http://www.coldfusionjedi.com/index.cfm/2007/10/8/Ask-a-Jedi-How-can-you-timeout-a-session-in-an-Ajaxbased-application
The gist is that if you have a dashboard-type app and you need to
determine if your session has timed out on the next Ajax request, how
would you go about doing it. He mentioned creating a ping-like service
that would poll the server every so often. It seems that this would
dramatically increase the number of HTTP requests.
Since session management is available in many server-side languages, not
just ColdFusion obviously, I think this is a good topic that's
applicable to most any project.
Is there a better way of doing it?
Rey...