RE: includes and cart numbers

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13495
interpreted = N
texte = Josh ->We utilize a server side include to build the left-hand navigation bar >for our site. The included file contains $search calls so people can >find all shirts or pants or whatever in our database. Here is an >example: [....] >Now, whenever people click on any of the items (like the one shown here), >they get a NEW shopping cart number, as opposed to their existing number >just being passed on. This is wreaking some serious havoc on our users, >as their shopping cart keeps getting nuked. >When a user clicks on a $search link on the right-hand side of the >screen, which is hard coded into the page (no includes), the shopping >cart number remains consistant. [...]I've actually heard of this before - it's a semi-rare problem in 2.0 that will be cleared up in 2.0.1. The workaround is pretty easy - for now, just use [include file=filename.html&cart=[cart]] to force the included file to recognize the current cart number.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: includes and cart numbers (Jay Van Vark 1997)
  2. Re: includes and cart numbers (Jay Van Vark 1997)
  3. RE: includes and cart numbers (Marc Eagle 1997)
  4. Re: includes and cart numbers (Josh Knauer 1997)
  5. Re: includes and cart numbers (Josh Knauer 1997)
  6. Re: includes and cart numbers (Grant Hulbert 1997)
  7. Re: includes and cart numbers (Kenneth Grome 1997)
  8. Re: includes and cart numbers (Kenneth Grome 1997)
  9. Re: includes and cart numbers (John Hill 1997)
Josh ->We utilize a server side include to build the left-hand navigation bar >for our site. The included file contains $search calls so people can >find all shirts or pants or whatever in our database. Here is an >example: [....] >Now, whenever people click on any of the items (like the one shown here), >they get a NEW shopping cart number, as opposed to their existing number >just being passed on. This is wreaking some serious havoc on our users, >as their shopping cart keeps getting nuked. >When a user clicks on a $search link on the right-hand side of the >screen, which is hard coded into the page (no includes), the shopping >cart number remains consistant. [...]I've actually heard of this before - it's a semi-rare problem in 2.0 that will be cleared up in 2.0.1. The workaround is pretty easy - for now, just use [include file=filename.html&cart=[cart]] to force the included file to recognize the current cart number.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Marc Eagle

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:

webcatalog developers in W. Pa. (1998) Navigator 4.01 (1997) [CreateDate], [ListFiles] context tag broken on Linux? (2000) WebCatalog NT beta 18 problem (1997) Re:WebDNA Writer Needed (1997) Email Line Breaks (2003) [WebDNA] Tables... (2008) send mail problem? (1997) Nested vs conditional (1997) OT - how many HTML forms is too many? (2000) Opening 'order file'. (1999) Email encryption (1998) Help with searching dates from mysql dump & searching (2006) webcat- multiple selection in input field (1997) Cart Number sequence (1997) F3 crashing server (1997) GIF Converter vs. Clip2Gif (2000) Error Lob.db records error message not name (1997) what include am I using! (2005) Email Line Breaks (2003)