Best solution to send a user back to previous page after usubmitting login form
I have a login form, and once you login successfully it takes you to one set page every time. In your opinion what would be the best way to redirect a user back to the page they were at before logging in?
I thought about
But a couple of desktop and internet browsers offer an option to turn of sending referrers. Then I thought about submitting the current url in a hidden form and using it to redirect to. Then I thought about saving it in the session, but that has draw backs if a user ends up saving multiple pages.
Does any one have any good suggestions?