My CF application relies heavily on session variables to construct URLs. If the user leaves the browser for the timeout period and then attempts one of these links or forms, they will get an error after being routed to the login page because the needed session variables have been lost.
I realize that I could check for the presence of each of these session variables every time, but this would be a huge job and would require different logic in each case.
I'm looking for possible solutions that would let me simply redirect to the home page when a session timeout occurs, rather than trying to honor the original request. The problem is that the URL to the home page itself is dynamically constructed using a session variable to identify the path e.g. http://hostaddr/
My request then is for any ideas to present a more graceful redirection on session timeouts.