Hi Bruce,
you're right it works in the examples.
And now the strange thing:
I've dived into the netweb.clw a little more and added/uncommented some self._trace calls. What I found out really troubles me: in my app the calls to the _ParseSettings method where the 5/6th parameter is omitted, the OMITTED(p_sep) still is False (and that's why the whole _postdata_ string isn't being split) !!!
For each post to the server the _Parsettings is called (at least) three times and the last one should be splitting the parameters. In my app the following code is called (fragment from the _HandlePost method), both by my app as well as for example the web77 app:
elsif self.RequestBoundary <> ''
self._ParseSettings(self.RequestData.DataString,x+4,self.RequestData.DataStringLen,0,self.RequestBoundary,net:Multipart)
else
self._trace('!!! this call to _ParseSettings is used !!!')
self._ParseSettings(self.RequestData.DataString,x+4,self.RequestData.DataStringLen)
end
end
self._trace('recs localdataq : ' & records(self._LocalDataQueue))
loop qindex# = 1 to records(self._LocalDataQueue)
get(self._LocalDataQueue, qindex#)
self._trace('element : ' & qindex# & ' param : ' & self._LocalDataQueue.name & ' val : ' & self._LocalDataQueue.value)
end
So in both apps the parameters in the calling statement are the same, but somehow, the implementation of the _ParseSettings method fails because of the omitted(p_sep) is not working ...
So it's more that omitted is not returning the right value somehow ...
(already removed obj files etc and recompiled stuff a dozen of time ..., but I am really clueless to what is going on here ...)
Regards,
Ton