Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining ASP and WWC
Message
 
To
05/12/2001 09:50:43
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00589792
Message ID:
00589819
Views:
20
>>>I have a situation that I would like to solve. In most places where I have a new content to offer to the user, I usually have an ASP page. So, that page contains some includes references which also contains some ASP code. So, for example, index.asp is including icon.html. In icon.html, I have some ASP code. As icon.html will be interpreted within index.asp, everything works.
>>>
>>>Now, for that specific content, wherever I go in VFP to generate some template using WWC, I am facing a situation where I have to maintain icon2.html, which is included in the template, which contains the same behavior but written in VFP. I have to maintain it in parallel as since this code in generated in VFP, I can't have some ASP code in it. Some, in several places, I have to maintain several files in double. One which contains a logic in ASP and another version which contains the logic in VFP. How can I avoid that?
>>
>>Can you interpret the ASP tags in your VFP code?
>
>That's what I am trying to find. Is there a function in WWC that will eat everything?

You are out of luck with this :-)

You can probably interpret some inline ASP code like "include" and
include the file yourself, but in this case, you also have to interpret
the code in the included file.

I think you have to choose between VFP and ASP or continue to maintain both versions.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform