Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding the url
Message
 
To
24/10/2006 16:19:31
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01164181
Message ID:
01164198
Views:
13
First, if you run via IIS "Script Map", an extension of the application will hide much of it... ex: any file ending in .htm goes through the IIS to a dll to serve up the pages... WC works the same way and will hide the project stuff. So... instead of

http://www/oursiteurl.com/wconnect/wc.dll?myproj~myfunction2

you could have it just show

http://www/oursiteurl.com/wconnect/myfunction2.wc


where if from setup, you tell any file request ending with an extension of ".wc", that is gets sent to the wc.dll... From that, the wc.ini has the name of the project exe or dll to actually launch and get the results. You'll still see the "MyFunction2" as a function to be called inside the Web Connection app, but at least your hiding the primary parts...

If you want to be more cryptic and protective of code functions internally, you could use a numbering sequence, or parameters so that gets evaluated in the Web Connection application and calls a specific function and thus returns the necessary results.




>I have a web app that uses VFP9 and westwind. Our marketing department wants certain functions in the app to have a URL that doesn't change. Sort of like this website(the UT), but our marketing wants something like the following to always display in the browser's address bar:
>
>http://www.oursiteurl.com/somedirectory
>
>Currently in our app, depending on what the user clicks on, they see something like this:
>http://www/oursiteurl.com/wconnect/wc.dll?myproj~myfunction1
>http://www/oursiteurl.com/wconnect/wc.dll?myproj~myfunction2
>http://www/oursiteurl.com/wconnect/wc.dll?myproj~myfunction3
>etc...
>
>Is there an easy way to make our website always display the same address reguardless of what is actually going on in the web app?
>
>Thanks,
>
>Jerry
Previous
Reply
Map
View

Click here to load this message in the networking platform