Bill Logan said:
Joel Shepherd said:
[Someone somewhere in this thread, god help us, posted the disputed URL:
http://demo:[email protected]/axis-cgi/jpg/image.cgi?resolution=
320x240&dummy=1094217750383 ]
First of all, the 'resolution' and 'dummy' bits are not data!
They are (optionally) there as variables the
cgi can pass directly back to the browser for use by the browser.
What exactly do you mean by "pass directly back to the browser"?
OK typed in a hurry, should have said for use / information at the browser
end.
That's not helping. How are 'resolution' and 'dummy' being used "at the
browser end"? The browser is certainly not using them directly by
parsing them from the query string, as you now agree.
Mostely much like comments in html.
Browsers ignore the comment contents. I'm not following the analogy.
No I did not. The server in this case does not determin the dimensions.
They are loaded into the vid camera that produces the image. (by the
actions of the cgi)
So, they are being used on the server end to determine the dimensions of
the image to be returned to the browser. If a different pair of
dimensions is passed in the query string, the CGI script will work with
the video camera on the _server_ side to produce and return a
different-sized image to the browser. It's all happening on the server
side. The browser has no clue what size image is going to come back (or
even that the CGI script is going to return an image) until it starts
getting HTML headers and the image stream back from the server. So the
'resolution' 'bit' in the query string is _not_ being used by the
browser at all.
I think you are confused! I never said the browser parsed anyhting.
Then it is even more difficult to parse what you mean when you say "They
are (optionally) there as variables the cgi can pass directly back to
the browser for use by the browser."
When/how does the browser become aware of the specific values of
'resolution' and 'dummy' in the query string?
I said the server sends the information back to the browser so the
browser will 'reload' the image with the provided dimensions.
The server -- as best as I can tell -- spews some HTML which happens to
contain the link above. A user follows the link. The 'dummy' parameter
serves to break the browser's cache (without the browser's direct
interpretation of it), the 'resolution' parameter is used on the server
side to determine the size of image to be sent back to the browser.
Is that what you're saying?