Re: ASP and WebDNA

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20022
interpreted = N
texte = On 9/21/98 8:57 AM Greg Tabet wrote >I have been trying to get this to work for a week now and can not figure >out how. >I have an index.asp page before I go to the entry.tpl page. I want to add >the referring URL or the index.asp to the cart header. The problem is >passing it from ASP to WebDNA. > >Here is how I am trying to do it. > >INDEX.ASP: >ASP part ><% ReferringSite = Request.ServerVariables(HTTP_REFERER) %> >
>> > >
> >Then, in entry.tpl, I have this code >[SetHeader cart=[cart]]header1=[<%=request.form(referer)%>][/setheader] You can't have your cake and eat it too! You can use either webdna on a page or asp but not both. You can have asp start a form and the next page be a webdna page that processes the input.Look at just doing [setheader cart=[cart]]header1=[referer][/setheader] That should do it.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: ASP and WebDNA (PCS Technical Support 1998)
  2. Re: ASP and WebDNA (bob 1998)
  3. ASP and WebDNA (Greg Tabet 1998)
On 9/21/98 8:57 AM Greg Tabet wrote >I have been trying to get this to work for a week now and can not figure >out how. >I have an index.asp page before I go to the entry.tpl page. I want to add >the referring URL or the index.asp to the cart header. The problem is >passing it from ASP to WebDNA. > >Here is how I am trying to do it. > >INDEX.ASP: >ASP part ><% ReferringSite = Request.ServerVariables(HTTP_REFERER) %> >
>> > >
> >Then, in entry.tpl, I have this code >[SetHeader cart=[cart]]header1=[<%=request.form(referer)%>][/setheader] You can't have your cake and eat it too! You can use either webdna on a page or asp but not both. You can have asp start a form and the next page be a webdna page that processes the input.Look at just doing [setheader cart=[cart]]header1=[referer][/setheader] That should do it.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. bob

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:

[taxrate] question (1997) WebDNA 6 (2004) problems with 2 tags (1997) External RAID (2005) A question on sub-categories (1997) Sorting search by date. (2000) [format 40s]text[/format] doesn't work (1997) Bad File: DeleteCommand.html (1998) Web Catalog 2 demo (1997) Discount solution? (1998) Show shoppingcart after remove last item (1997) How to display images? (2002) A multi-processor savvy WebCatalog? (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) Resume Catalog ? (1997) Session ID Equivalent (2003) Duplicate Items in the Cart (1998) Enhancement Request for WebCatalog-NT (1996) NT IIS number of files limit (2003) no global [username] or [password] displayed ... (1997)