Re: Active Server Code...

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17982
interpreted = N
texte =
We tried to combine asp with webcat in various ways but was never successful. There is one
possible trick to make it work but might not be the best way to do it.  The trick is to process
the tpls first and write it out as an .asp file, then IIS will process the asp file. \


At 11:54 AM 5/29/98 , you wrote:
>Is there a way to use active server code in a .tpl file?  Example:  Banner
>Rotation
>
><% Set AdHead = Server.CreateObject("IISServer.ContentRotator") %><%=
>AdHead.ChooseContent("/ban/01_head/rotate.txt") %>
>
>I'd like to able to run some 'asp' code consistent with the rest of my site,
>within the WebCatalog pages, if possible.  I notice that javascript seems to
>run, but asp doesn't.  Is there a way to do this?
>
>Technical Support                 | ==== eCommerce and Beyond ====
>Pacific Coast Software            | WebCatalog, WebMerchant,
>11770 Bernardo Plaza Court        | SiteEdit Pro, PhotoMaster,
>San Diego, CA 92128               | Typhoon
>619/675-1106  Fax: 619/675-0372   | http://www.smithmicro.com/
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#160# Jocelyn Gaw Gonzalo#160#  #160##160##160##160##160##160##160##160##160# (v) 808.539.3930
#160# Software Engineer#160##160##160##160##160##160##160##160#   #160##160##160##160#(f) 808.539.3943
#160# W O R L D P O I N T#160##160##160##160##160##160##160# #160##160##160##160##160#(c) 808.223.7852
#160# Honolulu/Dallas/Zurich/SanFo#160#   (p) 808.582.2448
#160# 1-888-452-3939 (honolulu)       (e) jocelyn@worldpoint.com
  1-888-743-3939 (san fran)       http://www.worldpoint.com/

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Associated Messages, from the most recent to the oldest:

    
  1. Re: Active Server Code... (Jocelyn Gaw Gonzalo 1998)
  2. Re: Active Server Code... (Daniel Cameron 1998)
  3. Active Server Code... (PCS Technical Support 1998)
  4. Re: Active Server Code... (Raymond Hatch 1998)
  5. Re: Active Server Code... (Raymond Hatch 1998)
We tried to combine asp with webcat in various ways but was never successful. There is one
possible trick to make it work but might not be the best way to do it.  The trick is to process
the tpls first and write it out as an .asp file, then IIS will process the asp file. \


At 11:54 AM 5/29/98 , you wrote:
>Is there a way to use active server code in a .tpl file?  Example:  Banner
>Rotation
>
><% Set AdHead = Server.CreateObject("IISServer.ContentRotator") %><%=
>AdHead.ChooseContent("/ban/01_head/rotate.txt") %>
>
>I'd like to able to run some 'asp' code consistent with the rest of my site,
>within the WebCatalog pages, if possible.  I notice that javascript seems to
>run, but asp doesn't.  Is there a way to do this?
>
>Technical Support                 | ==== eCommerce and Beyond ====
>Pacific Coast Software            | WebCatalog, WebMerchant,
>11770 Bernardo Plaza Court        | SiteEdit Pro, PhotoMaster,
>San Diego, CA 92128               | Typhoon
>619/675-1106  Fax: 619/675-0372   | http://www.smithmicro.com/
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#160# Jocelyn Gaw Gonzalo#160#  #160##160##160##160##160##160##160##160##160# (v) 808.539.3930
#160# Software Engineer#160##160##160##160##160##160##160##160#   #160##160##160##160#(f) 808.539.3943
#160# W O R L D P O I N T#160##160##160##160##160##160##160# #160##160##160##160##160#(c) 808.223.7852
#160# Honolulu/Dallas/Zurich/SanFo#160#   (p) 808.582.2448
#160# 1-888-452-3939 (honolulu)       (e) jocelyn@worldpoint.com
  1-888-743-3939 (san fran)       http://www.worldpoint.com/

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jocelyn Gaw Gonzalo

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Template Encryption (1998) Pithy questions on webcommerce & siteedit (1997) Announce: New WebCatalog Site (1998) WebCat2 Append problem (B14Macacgi) (1997) WC 2.0 frames feature (1997) Date Calulation (1997) lookup and two records? (1997) WebCat2b15MacPlugin - showing [math] (1997) Why does setheader provide a db= parameter? (2005) CommandSecurity? (1997) Closing Databases (take 2) (1998) [max] always equals 0 in search context (2000) Re:Emailer and encryption (1997) Cookie woes with Mac IE4 (1998) Search in 2 or more catalogs (1997) [tcpsend] (2001) absolute paths for databases? (1997) too many nested tags ... (1997) TCPSend/Replace DB Records (2002) Public beta 6 for WebCatalog 4.0 is now available (2000)