Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: image in <img> tag is not refreshed

by nobull (Friar)
on Nov 12, 2005 at 15:46 UTC ( #507983=note: print w/replies, xml ) Need Help??


in reply to image in <img> tag is not refreshed

Your problem has nothing to do with Perl.

Use a different file name for your .jpg each time. This not only solves your problem but also the race condition that exists if two users are accessing your site at the same time.

It does create a need to garbage collect your tempory image directory from time to time.

Alternatively make the <img> tag point to another CGI script that creates the JPEG entity on-the-fly and never saves it as a file.

Did I mention that this has nothing to do with Perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2023-10-04 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?