perl not cache

I draw a graphic online but it works for the first time it is used. How can i disable clients cache properties or force to draw each time user submits a query
camasuviAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
maneshrConnect With a Mentor Commented:
i think in this case the meta tags should be able to solve your problem, especially since your image script is being called via an HTML form.
0
 
maneshrCommented:
you can use the HTML meta tags to indicate to the client not to cache the page.

EG.

<meta http-equiv="Expires" content="Mon, 01 May 2000 13:59:27 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

However this method is not reliable in all cases since older versions of IE dont always understand this tag properly.

A better way would to to draw the image from an HTML form using either the GET or POST method. That way the page will be reloaded every time the user requests it.

Also you can use cookies to force a page to be refreshed on every re load.
0
 
camasuviAuthor Commented:
Adjusted points from 80 to 90
0
 
camasuviAuthor Commented:
do u have any cookie example? or could u please explain it ?
thanks in advance
0
 
camasuviAuthor Commented:
do u have any cookie example? or could u please explain it ?
thanks in advance
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.