Re: HttpWebRequest.GetResponse() Querystring length problem
- From: "Fred Chateau" <fchateau@xxxxxxxxx>
- Date: Fri, 9 Nov 2007 11:26:29 -0600
"Kamii47" <Kamii47@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote ...
I found a weird behavior of HttpWebRequest.GetResponse() in WM5
It raises exception if length of URL is around 2150. And also sends the
data
to server successfully. Therefore, there is no way to detect that the data
is
successfully received at server or not.
I believe that is a function of IIS, which limits the size of GET URL's for
security purposes. I also don't think your entire GET request is making it
to the server. That's where your exception is originating.
I suggest you use a POST request or do a search on communicating with the
server using Script tags from Javascript.
--
Regards,
Fred Chateau
fchateauAtComcastDotNet
.
- Prev by Date: Re: Can a compact framework application of full framework application hit a java webservice running on apache
- Next by Date: Re: Delete from file
- Previous by thread: WebRequest Methods
- Next by thread: DataGrid and ContextMenu (CF 2)
- Index(es):
Relevant Pages
|