A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to get the Previous visited url name using java script
Joined: Aug 03, 2006
Apr 09, 2007 21:36:00
Please help me in getting the "previous visited url String" from the current page using
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,
Author and ninkuma
Joined: Jan 10, 2002
Apr 09, 2007 21:41:00
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.
Asking smart questions
Books by Bear
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to get the Previous visited url name using java script
Closing parents parent html file
PUT method of HTTP
origin of the page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014