Sorry if this is a basic question, I don't know JS to any degree.
I have a CGI script located as an SSI include on my web site. Since HTML is stateless, I can't accurately display where current users are visiting (this is a users online script). The best I can do is check the HTTP_REFERER and check the LAST page they were on.
Is there any short and basic JavaScript code that can report back what the current URL is and have it pass that data to a CGI script?
I have a CGI script located as an SSI include on my web site. Since HTML is stateless, I can't accurately display where current users are visiting (this is a users online script). The best I can do is check the HTTP_REFERER and check the LAST page they were on.
Is there any short and basic JavaScript code that can report back what the current URL is and have it pass that data to a CGI script?