I'm writing a news app that allows users to submit stories. I want to require them to register before submitting news. I want to set a cookie that contains the page they were at before registering so that I can send them back there. how do I get the complete url to set in a cookie?
Thanks