You can't do that.  You need to UrlEncode only the values of the form data.

        dZ.

Public wrote:
> Thanks, now it works.
> 
> I did URLEncode on sData, URLEncode(sData);
> 
> 
> /Perry
> 
> Francois PIETTE wrote:
> 
> 
>>Try like this:
>>
>> sData :=  'CustomerNo=' + UrlEncode(MainWnd.FCustomerNumber) + '&' +
>>           'Pwd=' + UrlEncode(MainWnd.FPwd) + '&' +
>>           'Subject='  + UrlEncode(dbEditSubject.Text);
>>
>>
>>Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>>--
>>[EMAIL PROTECTED]
>>The author for the freeware multi-tier middleware MidWare
>>The author of the freeware Internet Component Suite (ICS)
>>http://www.overbyte.be
>> 
>>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to