If I leave a Tornado page open for a period of time (30 minutes, say), I get the

`Object reference not set to an instance of an object.' error. I presume this is because it has timed out. I can't find any way of trapping this error so that I can either display a friendly message or take the user to another page.

Any suggestions?

Thanks

Bob