in reply to redirect back to where you were

why not try the plain old trick of having the cgi generate the form when called without params, and when invoked with param(), it does what it should than call the same sub which generates the form page?

I hope you are using CGI.pm and beware of sticky fields


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/