All,
I'm looking for the best practice in regard to a CGI shopping cart - I am working on. What happens is that I have a checkout file that sends an email to our generic mail account and shows a thank you image once someone fills in their information. What happens is that even though the information page has checks that data is filled in - the checkout file if a search crawl hits the page it sends blank info to the generic e-mail box. Therefore to remedy what code can I put on the checkout page so that the e-mail only fires if thepage before it is the user info page:
Would basic CGI re-direct as such work:
use CGI;
$query = new CGI;
print $query->redirect('http://www.nameofmysite.com/userinfo.cgi');