Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a .shtml sliced page and in one of the side includes I have a script that I want to see where the person loaded it from. For example, if they were on the contact page it'd look like http://www.page.com/contact.html.
Right now I am using the HTTP_REFERER and it does half work. If they come directly to a page that loads this script, there is no referer. The user has to actually click an internal link before they are given one. But at this point, it no longer shows what page they are on but instead what page they were on a second ago.
Any ideas or suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to detect which page loaded script
by phaylon (Curate) on Dec 07, 2005 at 16:38 UTC | |
by Anonymous Monk on Dec 07, 2005 at 19:17 UTC | |
by phaylon (Curate) on Dec 07, 2005 at 19:19 UTC | |
by Anonymous Monk on Dec 07, 2005 at 19:44 UTC | |
by phaylon (Curate) on Dec 07, 2005 at 20:13 UTC | |
|
Re: How to detect which page loaded script
by kulls (Hermit) on Dec 08, 2005 at 04:11 UTC | |
|
Re: How to detect which page loaded script
by PodMaster (Abbot) on Dec 08, 2005 at 09:20 UTC |