>>>also instread of using XMLHttpRequest a hidden iframe will generally
>
>work just as well
>
>Exact, except that an IFRAME is also an HTTP request.

As is XMLHttpRequest.

All the solutions mentioned so far (xmlHTTPRequest, iFrame and an image) are 
all HTTP requests.  They all have the overhead of making a request in the HTTP 
format and getting a response.

I really doubt that for sending up resolution data any of them are markedly 
faster or slower than the others.

Personally I find using an image the most reliable for the task at hand (it's 
more backward compatible) but that's a personal preference.  If I had to 
transfer more data however I wouldn't dream of using an image (sent is limited 
to the amount of the data allowable on the URL and response data is limited to 
the amount in a cookie).

But for res data I'm only passing a comma-separated list of 6 numbers (height, 
width, availHeight, availWidth, color depth and JS version).  Passing it on the 
query string is quick and simple.

Jim Davis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199229
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to