Re: delete fails

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35548
interpreted = N
texte = Browser caching? Well, to this I have two responses: 1) Internet Explorer is almost exclusively the over-zealous caching culprit, not Netscape and 2) caching doesn't explain why it would work six times in a row and then stop working on the seventh.Or am I just confused?The previous response (Robert Wade) said that the code was wrong. Specifically,1. You should be using command not action. 2. You should be using remove to remove a lineitem not delete. Delete is used for deleting records in a database not lineitems in a cart file.If so, why didn't SM Tech Support pick up on this, and why is it coded this way at all, given that this is the SmithMicro StoreBuilder code I'm using? > >Remove >> >>This command is embedded in a [lineitems] context. It works great, >>most of the time. Inexplicably, it will *sometimes* fails to delete >>items from the cart, even though it is precisely the same code in the >>same [lineitems] loop that works most of the time! > >Check your server logs to make sure the command is even being sent to >the server -- this is a classic case of browser caching. -- Regards,Christopher Mackay, Director of Technical Services Tantramar Interactive, http://www.tantramar.com/ Tantramar Publishing, http://www.tantramarpublishing.com/ phone: 506/364-1097 cell: 364-7659 fax: 536-2409------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: delete fails (Christopher Mackay 2000)
  2. Re: delete fails (John Butler 2000)
  3. Re: delete fails (John Butler 2000)
  4. Re: delete fails (ShrPAUL1@aol.com 2000)
  5. Re: delete fails (WebDNA Support 2000)
  6. Re: delete fails (Robert Wade 2000)
  7. delete fails (Christopher Mackay 2000)
Browser caching? Well, to this I have two responses: 1) Internet Explorer is almost exclusively the over-zealous caching culprit, not Netscape and 2) caching doesn't explain why it would work six times in a row and then stop working on the seventh.Or am I just confused?The previous response (Robert Wade) said that the code was wrong. Specifically,1. You should be using command not action. 2. You should be using remove to remove a lineitem not delete. Delete is used for deleting records in a database not lineitems in a cart file.If so, why didn't SM Tech Support pick up on this, and why is it coded this way at all, given that this is the SmithMicro StoreBuilder code I'm using? > >Remove >> >>This command is embedded in a [lineitems] context. It works great, >>most of the time. Inexplicably, it will *sometimes* fails to delete >>items from the cart, even though it is precisely the same code in the >>same [lineitems] loop that works most of the time! > >Check your server logs to make sure the command is even being sent to >the server -- this is a classic case of browser caching. -- Regards,Christopher Mackay, Director of Technical Services Tantramar Interactive, http://www.tantramar.com/ Tantramar Publishing, http://www.tantramarpublishing.com/ phone: 506/364-1097 cell: 364-7659 fax: 536-2409------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Christopher Mackay

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:

brain teaser with an advanced search (2001) Search returns all, not 20 (1997) Multiple transactions per cart (2000) [SHOWIF AND/OR] (1997) Question about replacing words (1998) Email Formatting (1998) HELP WITH DATES (1997) The Box - (2002) Suddenly can't see files... (2000) HomePage Caution (1997) Help! WebCat2 bug (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) Duplicate Hell (1999) [WebDNA] WebDNA Newbie Questions (2008) More questions about serial number dishing (1997) WebCat2 - [format thousands] (1997) writefile - continued (1997) list cookies and list http headers (1997) Re:[ShowIf] and empty fields (1997) [WebDNA] Credit card processing (2012)