Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

perl not cache

Posted on 2000-04-30
5
Medium Priority
?
182 Views
Last Modified: 2010-03-05
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
0
Comment
Question by:camasuvi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:maneshr
ID: 2765927
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
 

Author Comment

by:camasuvi
ID: 2765941
Adjusted points from 80 to 90
0
 

Author Comment

by:camasuvi
ID: 2765942
do u have any cookie example? or could u please explain it ?
thanks in advance
0
 

Author Comment

by:camasuvi
ID: 2766062
do u have any cookie example? or could u please explain it ?
thanks in advance
0
 
LVL 16

Accepted Solution

by:
maneshr earned 360 total points
ID: 2766075
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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question