Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Files
Message
 
À
10/03/2005 05:56:12
Robert Jennings
Marine Software Limited
Aylesham, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00994350
Message ID:
00994359
Vues:
18
Hmm, I was actually doing the same thing back when I started with AVFP - I'll try to retrieve the code. I think I understand what you want: Ordinarily pages can be protected using the "member-only" code in the demo app, but for a file like an EXE, someone could bookmark it and bypass the login process. I think I did this by giving it a temp name, but, I'll try to find exactly what I did.
The docs should be improved in Version 3. Rick Strahl has some articles on this, although the methods won't match exactly. Most of his articles dealing with vfp web programming will give equivalent examples using vfp mtdlls such as his latest Unicode article in the latest Foxpro Advisor...
>Hi All,
>
>I've started to use AVFP to create a support website for my customers. The users can log in and are authenticated to a users table.
>
>What I would like to do is send a file like an updated exe file to the browser but I don't want the file to be located on the webserver accessible straight from a http://server/fred.exe type url therefore curcumventing the logon process.
>
>In the code I want to do something like lchtmlout=&lcfile or oResponse.redirect(lcfile)
>
>I'm able to insert data into web pages and to return the web page but it's a different matter dishing up an exe file.
>
>Is this possible or do I have to have the file accessible to anyone that doesn't log into my support pages?
>
>Also, the documentation that comes with AVFP is a bit limited for me (i'm a tad thick with it) Is there anywhere that provides more comprehesive information / samples which list all the methods/proverties.
>
>Thanks in Advance
>
>Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform