Visual Basic (3539)
This article has not been rated yet. After reading, feel free to leave comments and 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.