Hi bellaire,
Thanks for your reply. It works. I asked this question cause, I an writing a CGI script which calls a function, thsi function takes 4 minutes to complete and due to which the page is getting expired. So, I tried something like below:
use CGI qw /:standard/;
<meta http-equiv="refresh" content="2;url=some-html-file"> --tried red
+irecting to a different page
function-call();
main result write to a file and then rename to some-html-file. So. tha
+t finally I get result and page won't expire.
Concept looks neat but when I run the CGI script, it won't redirect...instead it directly calls the function and expires and once it expires then the redirection happening.
Is there any thing I am doing wrong? Or this is the expected behavior? Any thought on this? Thanks. |