Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser control alternative?
Message
De
19/05/2003 15:25:25
 
 
À
19/05/2003 09:57:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00789439
Message ID:
00790113
Vues:
20
I need to go into more detail about our particular problem.

Client: VFP8
Server: VFP8 COM DLL running on a Win2K Advanced Server box with Apache webserver running mod_ssl and Chilisoft ASP (or SunOne, whatever) to allow the ASP pages to use the VFP COM DLLs.

We're going to be storing ziped DBFs on this server and using ASP pages to request lists, saving and restoring.

We have a lot of control of installed apps on the client side but almost none on the server side.

Now the big catch the security is handled by a box on their network that redirects our calls if we're not authed. So basically we attempt to go to https://1.1.1.5/blahblah.asp and their network will look for a cookie that says we're authed and if it's not there redirect us to https://1.1.1.1/. Then we're presented with a login screen and a cookie is stored and a userid is passed back in the header.

There are far too many things that can happen through their auth server for us to trap so we were planning to use the webbrowser control to control all of it. If the page that loads isn't one of ours we make the form visible and they manually login and manually handle any errors they run into. Then when it forwards them back to the original requested page.

There are two problems with a 100% webbrowser solution. The files cannot be saved on the client without manually clicking the save button. The files cannot be uploaded by using DOM to fill out a form and forcing a click becuase you can't fill out "type=file" type textboxes.

So if I use West Wind's HTTP client stuff, Mabry or this HTTP wizard I'm pretty darn sure the cookie isn't going to work (although I do need to test it - which is impossible because we can't duplicate their network setup right now). So that's why I asked for a control that works exactly like the Webbroswer control except allows for more client side control.

>Here is an example in VB6 that states that urlmon will work with HTTPS. Maybe this will help. Or you might try posting a new thread here. "how to download a secure file, https, using urlmon"
>
>http://www.domaindlx.com/e_morcillo/scripts/cod/tips%5Cadl.asp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform