I have a program that has a bunch of divs that receive output of Ajax calls. One is a clock/timer. When the time expires I want to log the user out and return to the login page using a html redirect.
The problem is that now when the clock.php script times out the user is logged out on the server, but the logout message and login page are displayed only in the clock div.
What I want to do is have the redirect apply to the whole page, not just one of the divs.