WebHotelier automatically stores session information about each user. Some of this information can be overriden.

Table of Contents
  1. Referer Override

Referer Override

WebHotelier automatically stores the referer URL whenever a new visitor accesses the booking engine. In cases where a visitor access the property website from an external source and then opens the booking engine, then the referer URL auto-detected by WebHotelier is the property's own website. In some cases, this is not the intended behavior.

A common scenario is to store the external referer in the property website's session and then pass that referer URL to the booking engine whenever it is accessed ( whether via a link or form ). WebHotelier then overrides the detected referer with the URL passed to it.


Request Parameter

NAME TYPE RANGE REQUIRED DEFAULT EXAMPLE NOTES
referer URL varchar(2000) NO auto-detected referer=http%3A%2F%2Fwww.google.com%2F We only store the domain name of the referer.
Using a hidden form field is strongly recommended.

Examples of valid referer overrides

https://example.reserve-online.net/?referer=http%3A%2F%2Fwww.google.com%2F
https://example.reserve-online.net/?referer=www.google.com
<input type="hidden" name="referer" value="http://www.google.com/">
<input type="hidden" name="referer" value="www.google.com">