PDA

View Full Version : Refresh shown script data



Alejandro
12-10-2003, 04:30 PM
Hello,

I have an script list.cgi and modify.cgi.

list shows some data stored in a database, modify modifyes the database, when finished modify sends the user to list but I get the old values because they are stored in the browser's cache, so I have to refresh or reload the content. Does anybody have an idea to not to be reloading the page after each change I make?

I thinkl once I heard about a metatag to tell the browser to not to store the page but I'm not sure....

(perl script)

jalal
12-11-2003, 12:44 AM
One of these???

<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="Tue, 01 Jan 1981 01:00:00 GMT" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />

Alejandro
01-02-2004, 06:56 PM
I'm sorry Jalal, but even if it sounds fool I haven't seen your reply. I tryed with cache-control but it didn't worked all the time with IE, but after I saw your post I used the "Expire" tag and worked pretty fine, Thank you.

BTW, Happy new year...!