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