I have made a custom Perl cgi directory lister. When a visitor selects index.html it calls lister.cgi, the lister then provides a custom directory listing. My problem is that each time the cgi program is called, it does not pass the last page visited info to the custom page. The user can not use the back button which is a real annoyance!

I can capture the last page visited using the environment variable HTTP_referrer, but how do I pass that information to the page created by the cgi program?

Thanks for the help, JZ