Re2: frames & carts

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10378
interpreted = N
texte = >>I have a page that utilizes frames. WC assigns a different cart # when >>you hit reload in the browser. Is there any way to make sure it assigns >>the same cart number? > >It's supposed to generate a different cart number when you reload a page >that doesn't explicitly set the cart...otherwise it would never assign a >new cart number to new visitors. OK. >>I am using the cart=[cart] command. Is this even necessary with WC2b12? > >You absolutely need to propagate the same cart using that technique once >you've given someone their first cart...but now with ACTIONs and Smart >Carts you don't need to explicitly send a $NewCart command -- when >WebCatalog sees a template with [cart] in it, and no cart=### in the >parameters, then it assumes you want a new cart. You can see this happen >in the GeneralStore example. > >Is your problem really with frames themselves? Perhaps each sub-frame is >getting a different cart # because you're not using src=xx.tmpl?cart=[cart]> in the master frame container? Let me show you. Go to Click the enter button. You will see a framed page. Click and hold down anywhere in the right hand frame and select new window with this frame. View document source and take a look at the cart #. Hit reload and the cart will stay the same.Now, close that window and go back to the original framed page. View frame source for that same frame & look at the cart #. Now hit reload. 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 Am I not doing something right?--BenWebWright, Inc. Make a Presence. (409) 268-3022------------------------------------ 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)
>>I have a page that utilizes frames. WC assigns a different cart # when >>you hit reload in the browser. Is there any way to make sure it assigns >>the same cart number? > >It's supposed to generate a different cart number when you reload a page >that doesn't explicitly set the cart...otherwise it would never assign a >new cart number to new visitors. OK. >>I am using the cart=[cart] command. Is this even necessary with WC2b12? > >You absolutely need to propagate the same cart using that technique once >you've given someone their first cart...but now with ACTIONs and Smart >Carts you don't need to explicitly send a $NewCart command -- when >WebCatalog sees a template with [cart] in it, and no cart=### in the >parameters, then it assumes you want a new cart. You can see this happen >in the GeneralStore example. > >Is your problem really with frames themselves? Perhaps each sub-frame is >getting a different cart # because you're not using src=xx.tmpl?cart=[cart]> in the master frame container? Let me show you. Go to Click the enter button. You will see a framed page. Click and hold down anywhere in the right hand frame and select new window with this frame. View document source and take a look at the cart #. Hit reload and the cart will stay the same.Now, close that window and go back to the original framed page. View frame source for that same frame & look at the cart #. Now hit reload. 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 Am I not doing something right?--BenWebWright, Inc. Make a Presence. (409) 268-3022------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ ben

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:

&fieldsdir=ra truely random?? (2000) [WebDNA] OT: length of an HTML form input's 'name' parameter? (2010) [WriteFile] problems (1997) Dark Horse Comics success story (1997) This message couldn't reach the list! (1998) PCS Frames (1997) Review comparison by PC Magazine: Open for On-line Business (1997) taxRate is fine but taxTotal isn't (1997) Sum of [founditems] ? (2004) [WebDNA] [thisautonumber] and [lastautonumber] (2011) listfiles, moving files (1998) [showif] Saturday won't work (2007) [WebDNA] Use of MySQL with WebDNA (2010) Setting up shop (1997) Email (1998) [WebDNA] Grep (2009) Date search and sendmail (1997) Re(4): grep matching (2003) Using the Tearoom Teamplates (2000) [WebDNA] WebDNA: Could not establish connection with the module (2012)