Visual Basic (3539)
4 comments. Current rating: (1 votes). Leave comments and/ or rate it.
Question:How do I detect the referrer in order to display the appropriate content?
The example does a redirect depending on from which page your request came. The referrer is a property of the document and indexOf() is used to check for a relevant substring.