Returns the document referrer. This referrer document was the previous page
and the document related to this request is the target using classic
navigation (not an AJAX event).
The referrer and AJAX features of the source document must be enabled
(see
DocumentTemplate.setReferrerEnabled(boolean) and
DocumentTemplate.setAJAXEnabled(boolean) ) otherwise returns null.
Document referrer is not available if the target document was requested
using a direct URL (written on the browser URL bar) or, in the Internet Explorer
case, the target document is the result of a reload button click.
Only the first request (the loading document phase) has access to the
document referrer, subsequent requests (AJAX events) return null.
The document referrer is still live but is going to be unloaded.
the document referrer. May be null. |