Re: Problems w/ heavy use of cart header fields?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16896
interpreted = N
texte = >I'm wondering if frequently setting, resetting and >accessing these cart header fields will cause a big performance hitEverything is RAM-based as long as you're inside an OrderFile context, because SetHeader will look 'outwards' until it bumps into a context that contains the same OrderFile as the on in the SetHeader.Any template that you get to from ShowCart, Purchase, Add, Remove (all the commands that deal with carts) is automatically 'wrapped' inside an OrderFile, so a bunch of SetHeader tags on that page should be pretty fast.Naturally if you're not inside an existing OrderFile context, then SetHeader won't find any OrderFiles in RAM, and it will have to actually hit the disk in order to make changes to the order file.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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems w/ heavy use of cart header fields? (PCS Technical Support 1998)
  2. Re: Problems w/ heavy use of cart header fields? (Rob Marquardt 1998)
  3. Re: Problems w/ heavy use of cart header fields? (PCS Technical Support 1998)
  4. Problems w/ heavy use of cart header fields? (Rob Marquardt 1998)
>I'm wondering if frequently setting, resetting and >accessing these cart header fields will cause a big performance hitEverything is RAM-based as long as you're inside an OrderFile context, because SetHeader will look 'outwards' until it bumps into a context that contains the same OrderFile as the on in the SetHeader.Any template that you get to from ShowCart, Purchase, Add, Remove (all the commands that deal with carts) is automatically 'wrapped' inside an OrderFile, so a bunch of SetHeader tags on that page should be pretty fast.Naturally if you're not inside an existing OrderFile context, then SetHeader won't find any OrderFiles in RAM, and it will have to actually hit the disk in order to make changes to the order file.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/ PCS Technical Support

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:

[WebDNA] variable name limit - clarification (2009) OFF TOPIC: Sendmail problem (2003) Problems with Price field (1997) PROTECT PAGES (2002) Roundup function? (1997) Problems with [Applescript] (1997) iis 4.0 (1997) [OT]Target Links (advanced??) (2001) [WebDNA] Quick grep... Govinda?? (2010) Limit on nested [ShowIf]'s? (1997) Multiple 'Users.db' files not possible (1997) How to redirect based on price subtotal? (1998) delete some html code (2007) WebCat2 - Getting to the browser's username/password data (1997) WC2 or 3: Displaying Search Result Relevance (1998) emailer don't work (1998) New commands in Final candidate (1997) Problems with [Math] (1998) [WebDNA] sendmail time stamp (2013) OT: Need some DVD advice (2006)