request.path gives me the clicked url. I need a return link on that page which on clicking, should return to Referrer page, just as it would happen in case of browser back arrow . I do not maintain any session and do not want to hardcode the referrer page url.
+1
A:
How about trying Javascript instead?
<a href="#" onclick="history.go(-1);">Go back</a>
thephpdeveloper
2009-12-08 10:14:37
A:
You can do so using Javascript:
<span onclick='javascript: history.back()'>Previous page</span>
Alan Haggai Alavi
2009-12-08 10:16:16