You are here: Re: Sending data form a vb program too a mysql DB « PHP Programming Language « IT news, forums, messages
Re: Sending data form a vb program too a mysql DB

Posted by Steve Gerrard on 11/15/06 03:44

"Dag Sunde" <me@dagsunde.com> wrote in message
news:4559fab0$0$16502$8404b019@news.wineasy.se...
> Dag Sunde wrote:
>> Steve Gerrard wrote:
>>> Dag, how much data is reasonable to move back and forth using the
>>> XmlHttp object in VB6?
>>
>> If you use the "GET", it is limited to the max-length of the URL...
>>
>> If you use "POST" on the other hand, it is up to the server.
>> In IIS, the maximum number of bytes for one form variable is
>> approx. 102,399 bytes. To overcome this, you just send
>> several fields (variables) with the same name. IIS (ASP)
>> will then see them as an array you can loop thru.
>>
>> I frequently send (POST) 500K via the xmlhttp object to an
>> ASP script running on IIS 5.0...
>>
>> So if my POST'ed data look like this:
>> //PseudoJavascript
>> sData = "xmlData=" + escape("102399BytesOfData")
>> sData = sData + "&xmlData=" + escape("another102399BytesOfData")
>>
> The response from these calls has no limit in its response...
> (Except for timeout issues...)
>
> So if you send a short request like "getHiscores.asp?limit=all",
> and that results in a .responseText being 900K lonk, that
> is not a problem, and no special consideration needs to be made.
>

Ooh, I like it, 100K seems like decent amount to be able to post, and it looks
like sending multiple blocks is not much more work. I have been ducking away
from doing some of this, but the time is rapidly approaching. Thanks for the
answers and the examples and the "oh it is really no trouble at all" breezy
attitude. I'm sure there will be a little swearing along the way, but I feel
much more confident about making it work.

From the example in your other post:
<?xml version="1.0"?>
<root>
<rev_string>.uoyknahT</rev_string>
</root>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация