For instance my current url is
http://www.sample.com/check/?code=1
Web page under this url contains a link
<a href="http://www.sample.com/check/?code=2">Code2</a>
When this link is clicked it takes to http://www.sample.com/check/?code=2
Question:
Under the web page displayed under http://www.sample.com/check/?code=2 i have to fetch the url from which this page had came from. How to do this.
Thanks in advance…
1 Answer