Pythoni schreef:
> 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.

I had the same problem. HTTP_REFERER was set when using Firefox yet IE
didn't play with HTTP_REFERER.
My solution was to keep track of the history of pages myself.
I made functions to get and set the history. I add pages to a queue like
object and when i want to return to a previous page, i do this by
getting the latest added link and go back to there.
It works but i would also have rather used HTTP_REFERER.

Regards,
Benedict


--~--~---------~--~----~------------~-------~--~----~
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