Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General question on available technologies
Message
 
To
22/02/1999 23:40:54
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00189035
Message ID:
00190403
Views:
15
Thanks Erik, I'll check it out!
~ellen

>If I had to tackle this problem, I would simply create a COM object to run on the server, and call it with FoxISAPI. I would then use Rick's wwIPStuff class on the client side to build a Request and send it through the windows internet interface- directly to the server (no browser).
>
>This could all be really simple.
>For the server class:
>DEFINE CLASS GetAuthKey AS Custom OLEPUBLIC
>PROCEDURE ProduceKey
>LPARAMETER lcFormVars, lcIniFile, lnReleaseFlag
>LOCAL lcOutput
>lcOutput="HTTP/1.0 200 OK"+CR+; "Content-type: text/html"+ CHR(13)
>
>* Calculate the key and record that a key was given
>* IF you need to, you can pass this method parameters in the
>* URL, and they are received in lcFormVars- you just have to parse
>* them out.
>
>RETURN lcKey
>
>Then, on the client, use wwIPStuff
>SET CLASSLIB TO /classes/wwIPStuff.vcx ADDITIVE
>oIP = CREATEOBJECT('wwIPStuff')
>lcKey = oIP.HTTPGet('www.MyServer.Com/FoxDirectory/FoxISAPI.dll/MyProject.GetAuthKey.ProduceKey')
>
>?lcKey && Now holds the value you returned in Produce key.
>
>
>That's it!!!!
>
>THere are a few issues youhave to get out of the way as far as configuring your COM server and getting FoxISAPI set up, but that stuff is textbook if you know where to do your homework. And your homework is at http://www.west-wind.com/presentations/foxisapi/foxisapi.htm.
ellen whitney
EPS Software Corp
Previous
Reply
Map
View

Click here to load this message in the networking platform