Flash previous URL to session at the end of each request.
Remove previous URL stuff from session. Bad idea.
Fix conflicts.