1

What is the difference between watchdog Location and watchdog Referrer in dblog messages?

An easy example to see the difference would be nice, for example on the node creation/edit they are the same.In which case these two URLs will be different?

4

The 'Location' is the URL a user/process was visiting when the watchdog entry was invoked.

The 'Referrer' is the URL that referred the user to the 'Location' URL.

So if a person goes directly from a link on http://www.google.com to http://yoursite.com/, and visiting that URL on your site generates a watchdog record, the 'Location' will be '/', and the 'Referrer' will be 'http://www.google.com'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.