View Full Version : Http_referer

03-23-2004, 10:04 AM
I use flash as a navigation bar..

I work on a multi language for the contents (html)

to change the language I have a cookie lang and I use a docookie page..

I need the $HTTP_REFERER to go to the page where I come from (before my docookie page script) to refresh with the new language..

when the link come from my flash nav bar I cannot extract the $HTTP_REFERER

is there a way the extract the url from where the script has been called?

thanx in advance


03-23-2004, 10:14 PM
Browsers are not required to send HTTP_REFERER and often do not, so it cannot be relied upon. :(

03-23-2004, 11:50 PM
thanx you Jerry..

so what shall I do to come back to the very page I was before the script was called?

any tips would be much appreciated



03-24-2004, 01:41 AM

a quick and dirty (very dirty) fix i can think is is using JS, history(-2)

03-24-2004, 02:08 AM
not really because it won't refresh the page so that the information will be the ones of the cache while I want new informations to be displayed (as I change the language)


03-24-2004, 02:15 AM
if you don't want cached information, you could put no-cache in the header.....however, no-cache, caches for some reason when i'm using a swf/flash file. oh well, i hope you find a solution. i know how it is to be stumped. cheers.

03-24-2004, 02:26 AM
my problem using a no cache will make my swf reload all the time, which is not fine since it is a nit heavy.. with loading like a new page will make use the swf in cache but load a new html text..

and thanx for your good words, yes I hate too to be stucked ..