Haris Bogdanovic
5/6/2008 3:21:00 PM
Hi!
I tried to redirect a html page to itself to avoid browser's question about
resending post data but it doesn't work.
I tried this:
cgi=CGI.new
cgi.header('status'=>'302 moved', 'location'=>'my_page.rb')
or
cgi.header('status'=>'REDIRECT', 'location'=>'my_page.rb')
The browser still asks the question about post data when I click the Refresh
button
Maybe someone knows why this doesn't work ?
Thank you.