you could use javascript to periodically check whether the session has expired and then redirect if it has. The implementation depends on the details of your authentication system, but would basically involve passing the expiration time of the session to the page and then comparing time of expiration to the current time until the session is expired.
EDIT: Example
I use prototype.js, so if you use some other framework (or just raw JS) you will have to adapt it.
<input type="hidden" id="expiration" value="<?php echo(time() + SESSION_TTL) ?>" />
<script type="text/javascript">
new PeriodicalExecuter(function(pe) {
if(getTime() >= parseInt($('expiration'))) {
window.location = "http://session.expired.com"
}
}
</script>
Should do something along the lines of what you want.