If your session times out and you've just hit a public page, make the URL to...
If your session times out and you've just hit a public page, make the URL to trigger the transient login page remember any GET parameters. This makes it so that if you hit a public view (view.php?id=8 for example) and your session has just timed out, after you submit the login form you will continue to view.php?id=8 rather than just view.php. The latter is very annoying because it's not what you were after and will cause the script to bail anyway.
Please register or sign in to comment