in reply to Obtaining requesting form's URL?
You should be able to use the environmnet variable HTTP_REFERER.
eg.
eg.
if($ENV{HTTP_REFERER} eq 'http://abc/searchForm2.cgi'){ # Do whatever }
- Tom
In Section
Seekers of Perl Wisdom