Re: frames & carts
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10369
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.>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
in the master frame container?--Grant Hulbert, connected via Etheric-Net from behind Hale-Bopp(At least that's what I told Mom when I told her we were going on 'vacation')------------------------------------To leave this talk list send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>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.>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
[cart]> in the master frame container?--Grant Hulbert, connected via Etheric-Net from behind Hale-Bopp(At least that's what I told Mom when I told her we were going on 'vacation')------------------------------------To leave this
Talk List send an email tomacjordomo@smithmicro.comwith BODYunsubscribe 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:
searching for last file in a directory (1999)
[CART] inside a [LOOP] (1997)
RAM variables (1997)
Replace command help (1998)
How to append text after the sign & (1997)
Multiple fields on 1 input (1997)
WebCat2b13 Command Reference Doc error (1997)
Javascript and Search Results (1998)
expired beta (1997)
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
Sorting problem (2002)
Webcatalog, Webstar and Crasharama (1999)
[WebDNA] Error: Can't open order file. Ignoring [OrderFile] context Error: Error: expected [/APPLICATION], but found [/!] instead[/!] (2011)
multiple databases (1997)
Secure server question (1997)
UK credit card info follow-up (1997)
Answer: WebDelivery downloads alias, not original ? (1997)
2 questions (2000)
Using files in an Email broadcast (1999)
[WebDNA] WebDNA on LiveCD ... (2008)