i know of some browsers that ignore the no-cache header and instead do a
HTTP HEAD request and check against that

or try a 'expires' with 0 or -1

-----Original Message-----
From: Purcell, Scott [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 2:55 PM
To: '[EMAIL PROTECTED]'
Subject: Caching Problem


Hello,
I am having some trouble with the browser cache. I have a large interface
all Perl, CGI.pm and I have a voting mechanism that opens a new windows,
allows the users to enter some data (vote on criteria), and after
submitting, I use some JavaScript and close the window. At that point the
data is written to the DB and we are done. All works great. The problem is
that after they can reopen that voting window to see what they entered, and
it goes back to the cache in the browser and does NOT re-execute the code,
which queries the DB first and gets the data.

I have tried using the following from the CGI.pm book (steins book),
    print header(-pragma=>'no-cache'),

But it does not seem to work, it just displays from the cache anyway. But if
I right click in that frame, and say reload, well ... all is good. But I am
going to have a hard time trying to fell my customers and managers to do
that. There has got to be a better way. 

Anyway get around this issue?????

Thanks,
Scott Purcell

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

------------------------------------------------------------
Internet communications are not secure and therefore Oyster Partners Ltd
does not accept legal responsibility for the contents of this message. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Oyster Partners Ltd.
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to