Re2: frames & carts

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10403
interpreted = N
texte = >When you view src again, that frame will have a different cart number. > >This is bad. What if someone has made a few additions to their cart and >then (for whatever reason) hit the reload button? They have to start all >over. You can see this same example at In that case, you need to set the cart before you go into the frame page. Change the link on your Enter button tohttp://www.webwrightinc.com/webcatalog/ddmall/prods.tmpl?CAT=ddcatalog.txt&cart=[cart]And make sure your ACTION is set up to do WebDNA substitutions on the entry page (probably add .HTML to the list of suffuxes that WebCatalog handles), and name your entry page index.htmlIf I thought this out properly, your view source on the master frame page will always show the same cart numbers every time you reload, because you entered that master page with a cart number already generated on the entry page. I think the problem in your current setup is that [cart] is not pre-set, so WebCatalog thinks it needs to make a new one every time it gets reloaded.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re2: frames & carts (Grant Hulbert 1997)
  2. Re2: frames & carts (Grant Hulbert 1997)
  3. Re2: frames & carts (ben 1997)
>When you view src again, that frame will have a different cart number. > >This is bad. What if someone has made a few additions to their cart and >then (for whatever reason) hit the reload button? They have to start all >over. You can see this same example at In that case, you need to set the cart before you go into the frame page. Change the link on your Enter button tohttp://www.webwrightinc.com/webcatalog/ddmall/prods.tmpl?CAT=ddcatalog.txt&cart=[cart]And make sure your ACTION is set up to do WebDNA substitutions on the entry page (probably add .HTML to the list of suffuxes that WebCatalog handles), and name your entry page index.htmlIf I thought this out properly, your view source on the master frame page will always show the same cart numbers every time you reload, because you entered that master page with a cart number already generated on the entry page. I think the problem in your current setup is that [cart] is not pre-set, so WebCatalog thinks it needs to make a new one every time it gets reloaded.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Grant Hulbert

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:

Dummy Credit Card Number for debug? (1997) WebCatalog as a ListServ (1998) Moment of Thanks (1997) [if] and [showif] - A solution (2002) Help name our technology! I found it (1997) Sorting (1998) error: Too many nested [xxx] contexts (1997) WebTen Memory Error with Plug-In (1998) [URGENT] Different Results From Math Tag Depending On OS (2006) Pithy questions on webcommerce & siteedit (1997) One Hour Email (2002) Off-topic: valid email address characters? (2002) Press Release hit the NewsWire!!! (1997) Hello??? (1997) [WebDNA] Can WebDNA corrupt a db? (2012) Mac Authorize (1999) Password and Allow commands (1998) Backwards list behavior ... (1997) Multiple Pulldowns (1997) Multiple catalog databases and showcart (1997)