How to get the referral page?

Hi gang,

I have been trying every search I can think of and can’t find if there is a way to obtain the referring page that loads the CGI app.
What I want to know is if the cgi loaded because it came from the menu page, or if someone hit the back button after being sent to the end page using showURL.

Thanks in advance, this forum has been a wealth of learning for me.

Jim

System.EnvironmentVariable(“HTTP_REFERER”)

Here is a list of available environment variables.

That was it. Thank you Michel!

The reference page of other variables helped too.