- The browser sends a HTTP request to the server.
- The server returns a HTML web page that contains an <IMG> tag for the image, and the <MAP> and <AREA> tags for the image map.
- The browser receives the HTML web page. It then sends another HTTP request to the server using the URL in the <IMG> tag for the actual image.
- The server returns the actual image to the browser.
The "some place" can be a "temporary file" or a "session variable".
In Perl, there is no standard way to use session variables in web servers, so the clickable examples in this documentation will be based on the "temporary file" approach.
To make using temporary files easy, ChartDirector has a special method BaseChart.makeTmpFile that saves charts in temporary files and automatically remove old temporary files.