Hi Peeps,
This isn't directly CGI / perl, however I am currently working on a CGI
project and I have stumbled across something that I just cannot seem to
fathom. Basically I have written a perl script that displays some drop
down boxes on a page, each time the page loads the information is read
from the database and the drop downs are automatically set to the
correct values each time, however .. in firefox if I do a normal
refresh, the information is read from the database correctly, but the
html cached someplace? So basically, I took the following code, just as
HTML code and once again it cached even this simple code, when I change
the selected option in the source code (html) it doesn't reflect in the
browser unless I do CTRL-F5. Im sure this is simple, but seeing as it
works fine in IE, and Safari I wondered if anyone else had stumbled
across this before?
html
head
META HTTP-EQUIV=CACHE-CONTROL CONTENT=NO-CACHE
META HTTP-EQUIV=PRAGMA CONTENT=NO-CACHE
meta http-equiv=expires content=0
meta http-equiv=refresh content=60
titleTest HTML/title
/head
body
form name=myform1 action=blah.pl method=post
select name=newpriority onChange=this.form.submit()
size=1
option value=lowlow/option
option selected value=standardstandard/option
option value=highhigh/option
/select
/form
/body
/html
Thanks,
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response