For my current project I am using form authentication. What occasionally will happen is a user will timeout (unbeknownst to them), they try navigating to a different page (call it Page B) and they get kicked back to the login screen. This is fine and I have no problems with this. However, after they enter their credentials and are authenticated they are redirected back to "Page B" and an error is produced because a session variable wasn't loaded. This is due to the fact that they were redirected to "Page B" instead of the page they would normally hit after a login (call it Page A). Is there anyway to force the user to go to Page A instead of Page B in these situation to avoid these errors?
...
Go to the complete details ...