| Author |
How to get the Previous visited url name using java script
|
Vaidhi Bala
Greenhorn
Joined: Aug 03, 2006
Posts: 1
|
|
Hi All, Please help me in getting the "previous visited url String" from the current page using java script. for example, if I navigate from a.html to b.html. How to get the url a.html(Previous visited / last visited) from b.html. Thanks in Advance, Vaidhi
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
|
|
There is no reliable means to do so. In some cases, the "Referer" header will be set, but there are many cases in which it will not. Why do you want to do this? If it's for any type of decision making, there are better ways to do this.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: How to get the Previous visited url name using java script
|
|
|