in reply to CGI Refresh question

I'm handling this with a redirect, the only thing I don't like is that it puts the paramater on the url line of the browser. Not too big a deal, just not asthetically (sp?)pleasing.
if( param('Start Over') ) { open COUNT, '>cnt.tmp' or die "Failed to open >cnt.tmp, $!\n"; print COUNT '0'; close COUNT or die "Failed to close >cnt.tmp, $!\n"; print redirect( -location=>url() . "?HiddenTag=$HiddenValue" ); }
And that works fine. Thanks for the help all! (And if anyone knows how to get that param through the redirect without putting it on the url line, let me know!)

Replies are listed 'Best First'.
RE: RE: CGI Refresh question
by ar0n (Priest) on Jul 26, 2000 at 02:44 UTC
    aesthetically or esthetically.

    hey, you asked! :)

    -- ar0n

RE: RE: CGI Refresh question
by turnstep (Parson) on Jul 25, 2000 at 23:06 UTC

    I've never found a way, but you can make your script name very similar to the static page name, and use POST instead of GET to minimize differences in appearance. Having your cgi scripts run from sonewhere other than "cgi-bin" helps as well.