Flash previous URL to session at the end of each request.