Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
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-2015