Pythoni napisaƂ(a):
> I would like to use HTTP_REFERER in my Django project to find out from
> where users came to my website. So, my first page is INDEX.HTML that
> uses
> def Index(request) procedure.
> In this def Index(request) I use
> request.META['REMOTE_ADDR']
> but I found out that Referer does not work.
> HTTP_REFERER  is empty.
> Is HTTP_REFERER value transfered between different domains?
> Thank you for help
> L.

It works for me on the dev server and mod_python. Note that
HTTP_REFERER doesn't always have a value. Also browser settings may
affect it (may not send the referer in the header )


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to