Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Offering http application updates.
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01062701
Message ID:
01069085
Views:
34
POST data doesn't have a any capacity... Of course if you're using a stock FoxISAPI server, there's a bug in the ISAPI dll (not sure if that ever did get fixed) that limits to 64k.

+++ Rick ---

>Okay (and thanks), but what if ..
>What if the XML is larger than URL "capacity" and it sent as a request header:
*lcSendBody is a 5K XML (won't fit in URL)
>* Client script - note the URL is to a foxISAPI COM
>lcURL=[http://localhost/scripts/foxISAPI.dll/VFPDLL.App.Relay?"
>oHTTP=NewOBJECT("MSXML2.XMLHTTP")
>oHTTP.open([POST],lcURL,.f.)
>oHttp.setRequestHeader("Content-Type", "text/xml")
>oHttp.send(lcSendBody)
>The script is just like an ASP call, except it's a foxISAPI server. In asp we the "request" service that has a pointer to the xml string (lcSendBody), but in fosISAPI, all we have is the stuff in "formvars". Where would the reference (or pointer) to the xml string in lcSendBody be? Would "Request" also be the argument for "oXML.Load()"?
DEFINE CLASS App as Custom OLEPUBLI
>* Relay
>* Get the XML from the client
>PROCEDURE Relay
>LPARAMETERS lcFormsVars,lcIniFile,lnReleaseFlag
>oXML = Server.CreateObject("Msxml2.DOMDocument")
>oXML.async = .f.
>oXML.resolveExternals = .f.
>oXML.load(Request) && Will this work?
>ENDPROC && Relay
>ENDDEFINE && App
>
>You can pass anything you want into a Web server application. XML is just text...
>If the text is in the URL - but what if it is too big for the URL and requires a "setRequestHeader" to transfer a "large" string?
>Thanks
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform