HTTP is stateless. A very unclean option would be to store the last page in a session, but that's really very unclean. If you could tell what functionality you want to gain with this, maybe someone knows a better solution to your problem.
Ordinary morality is for ordinary people. -- Aleister Crowley