When my CGI script is done running I want it to direct the user to a specific URL. I can't figure out a way to do this cleanly. Right now I have the CGI script generate a very simple web page with a meta tag that redirects the user's browser to the page.
<html><head>
<META http-equiv="refresh" content="0;URL=http://example.com/abcd.html/">
</head></html>
This works but I wanted to know if there was a better way. I read somewhere it was not good to use the refresh tag.