Click to See Complete Forum and Search --> : Opening the last URL in a frame


markthurston
04-19-2005, 09:50 AM
I would like to be able to open the last URL that a user viewed in a frame on my website. This is not a problem if they are coming from another page within my site. The problem is when a user has this page bookmarked and clicks on the bookmark I can not open the URL they came from.

Anyone have any ideas?

Thanks.

phpnovice
04-19-2005, 10:25 AM
You're only possibility for doing this is to use document.referrer -- which is notoriously unreliable because each host decides whether to configure their servers to even send that HTTP header information at all. However, I can think of absolutely no valuable reason for doing that for which you're asking. ;)