if I put alert(document. referrer) in code of a file that was linked from
another it returns blank... pls, need to get document.referr er, don't
why it's not working... read up on oreilly, don't know what I'm doing
wrong.. thank you.. Frances
"Frances Del Rio" <fdr58@yahoo.co m> wrote in message
news:398rrlF617 5toU1@individua l.net...[color=blue]
>
> if I put alert(document. referrer) in code of a file that was linked from
> another it returns blank... pls, need to get document.referr er, don't
> why it's not working... read up on oreilly, don't know what I'm doing
> wrong.. thank you.. Frances[/color]
In article <398rrlF6175toU 1@individual.ne t>, fdr58@yahoo.com enlightened us
with...[color=blue]
>
> if I put alert(document. referrer) in code of a file that was linked from
> another it returns blank... pls, need to get document.referr er, don't
> why it's not working... read up on oreilly, don't know what I'm doing
> wrong.. thank you.. Frances[/color]
Referer is spelled (incorrectly, but that's a long story):
document.refere r
Note that is should NEVER be relied upon. It is not accurate and can easily
be spoofed. I spoof it all the time to get into stuff. ;)
--
--
~kaeli~
Not one shred of evidence supports the notion that life is
serious.
McKirahan wrote:
[color=blue]
> "Frances Del Rio" <fdr58@yahoo.co m> wrote in message
> news:398rrlF617 5toU1@individua l.net...
>[color=green]
>>if I put alert(document. referrer) in code of a file that was linked from
>>another it returns blank... pls, need to get document.referr er, don't
>>why it's not working... read up on oreilly, don't know what I'm doing
>>wrong.. thank you.. Frances[/color]
>
>
> Try "referer".
>
> Also, it may be blocked by many firewalls.
>[/color]
thank you.. I did try "referer", it returns "undefined" .. don't know
about the firewall thing since here at work we use referrer checking
w/asp and it works.. needed to do client-side.. but found another
solution for what I needed to do.. however, still would like to know
why this thing isn't working b/c sooner or later will need to use
client-side again.. thank you again.. Frances
Frances Del Rio wrote:[color=blue]
>
> if I put alert(document. referrer) in code of a file that was linked from
> another it returns blank... pls, need to get document.referr er, don't
> why it's not working... read up on oreilly, don't know what I'm doing
> wrong.. thank you.. Frances[/color]
SWAG: You are testing it in IE offline. IE does not report the referrer
property when testing a page offline.
Randy Webb wrote:[color=blue]
> Frances Del Rio wrote:
>[color=green]
>>
>> if I put alert(document. referrer) in code of a file that was linked
>> from another it returns blank... pls, need to get document.referr er,
>> don't why it's not working... read up on oreilly, don't know what I'm
>> doing wrong.. thank you.. Frances[/color]
>
> SWAG: You are testing it in IE offline. IE does not report the referrer
> property when testing a page offline.[/color]
this is interesting.. had no idea and hadn't thought of that... I WAS
testing locally, and I need it for a CD.. referrer URL would be locally
from same CD.. oh well.. many thanks to all for your responses... Frances
Comment