satya
8 years agoExpert
Capturing Referrer url in page initialization script
Hi Lithium Team,
I am trying to capture the referrer URL of the page. I have used the following code in page initialization script:
<#if http.request.referrer?contains("userregistrationpage")> --- Following code to display a custom page -- </#if>
The referrer URL contains the word "userregistrationpage", but still it is not going into the if condition. Am I missing something in the code?
Thanks,
Srujana Satya Datla.