When you:
You should be redirected to where you have been previously, instead of a fixed location, like now.
Relying on cookies for that will not work. We'll have to encode redirections in forms and parameters.