File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
origin of the page
PUT method of HTTP
Closing parents parent html file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014