Hi Andy,
Oops, it looks like Camelot beat me to the User-Agent string by quite a bit. I'm interested in hearing how he did it as well, since his method is clearly simpler than mine. For what it's worth, I just sniffed packets, dumped the HTTP GET request packet as text and copied the User-Agent string from that.
The User-Agent field won't make any difference unless the server is configured to consider it in the formulation of its response. However, I've never done that so I can't really say anything about how it's done. One would assume that the administrator of the server would know if it has been so configured but I suppose there could be options that do this "behind the scenes". However, I was curious about whether that was the case with the secure page I used to test so what I did was to download the page with and without the User-Agent specified and then I compared the results. Since the pages were the same, I assume that the User-Agent made no difference. Obviously if there had been a difference, that would reflect the effect of the User-Agent field.
--
Gary
~~~~
How should I know if it works? That's what beta testers
are for. I only coded it.
-- Attributed to Linus Torvalds, somewhere in a posting