session in image

Hi,
I have a small doubt in creating and catching the values of session.
I created a capture image using session value.

$cc = $_SESSION['count']; ImageString($image, 10, 30, 10, "$cc", $black);
This image creation is done in a seperate file namely capture.php.
I call this image file in another file check.php

<img src='capture.php'> $ss = $_SESSION['count']; echo "$ss";

My doubt is $ss prints the previous value printed by the image on the screen,
I just want to know why it does not prints the same value(value printed on the image).

Sponsor our Newsletter | Privacy Policy | Terms of Service