For example ,There is a "Link" called "go to view" at the bottom of the my page, which is redirecting to http://localhost/test.php . if we use $_SERVER['HTTP_REFERER'] in test.php page It will display the url of the page from which link was clicked.
The problem is this my URL can be seen at the target page. This needs to be avoided. How can i do this using javascript ?