I'm using sessions with LDAP authentication. After the session expires, if the user clicks on anything on the current page, they're brought to the login screen. On login, they're dumped at the default home page. What's the best way to get the user back to where they were? Do I need to log each page visit to MySQL or something and look it up on login?