Forum Moderators: open

Message Too Old, No Replies

C# handling POST requests

Building a web server... And stuck.

         

iseff

1:04 am on Dec 29, 2003 (gmt 0)

10+ Year Member



Im in the process of building a mini-web server. It only performs certain tasks that will be done via a web-based app, so we decided that it shouldnt be a full server. Instead, we handle the socket and things coming and going.

We're writing this in C# (mono's C# compiler actually). Currently, we have a form which is of method POST and while using IE (WinXP) and lynx (Mandrake Linux) the form is able to correctly get the query-string, but when using Mozilla and Konqueror (RH Linux), it can't seem to find a query string. When I debug and output the headers sent by the browser, it seems as though Mozilla/Konqueror don't even send a query string back. Its no where to be found, and certainly not a blank line after the other headers.

Does anyone have a clue as to what may be up? Maybe this isn't the right forum (maybe Linux?), but it's worth a shot!

Thanks a bunch! This is really irritating.

Ian

garann

11:55 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



If you're using POST, you shouldn't have a querystring, should you? Have you tried using GET? I'd think that would reliably produce a querystring for you..

plumsauce

9:29 pm on Jan 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




The best thing to do is to use a sniffer to
see *exactly* what the communications stream
looks like. Then you will know for certain
what needs to be worked on.

+++