Force the client to not get the web page from the client cache using the "Pragma:no-cache" HTTP header option.
If you are using the CGI OO syntax you can do it like this: print $q->header( -Pragma => "no-cache" ); If you are printing your HTTP headers directly instead of using the OO interface then just print "Pragma: no-cache" somewhere in your header response to the client. Hope this helps. Kind regards, Trevor Joerges SendMIME Software www.sendmime.com ----- Original Message ----- From: "Nikesh Garera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Nikesh Garera" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 1:22 PM Subject: Perl/CGI Refreshing page > Hi, > > I have a form which dynamically gets loaded by a cgi script. But everytime I > type in the url, the form fields show their previous value (i.e the page is > retrieved from the cache). > > After I referesh the page, the form fields show their dynamically loaded > values. > Is there a way to referesh a page or retrieve a page from the server instead > of from the cache using Perl/CGI. I don't want to modify my browser > settings. > > Thanks, Nikesh > > > _______________________________________________ > ActivePerl mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
