Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExpandTemplate() way of doing things
Message
From
20/10/2001 18:45:30
 
 
To
20/10/2001 17:45:59
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00571366
Message ID:
00571376
Views:
33
>You can create a separate header object, then pass that in to ExpandTemplate as a parameter (see lvContentType below, from the docs for ExpandTemplate):
>
>o.ExpandTemplate(lcPageName, lcContentType, llTemplateString, llNoOutput)
>
>lvContentType
>Optional - Either an wwHTTPHeader object or content type string. See wwHTTPHeader class for info.
>
Yes, I know. This doesn't help. As a header is still created. On the second call to ExpandTemplate(), another header will be created. Or, even if I call it only once, what if I have to add a cookie after I did the call. I'll face the same situation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform