Re: Setting Cart value

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32561
interpreted = N
texte = Thanks, what's really strange (or maybe not that strange!) is that when using [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes 3.0427201834694e+14 How else can we set a value for cart without using [math]?Mark. On Thursday, June 1, 2000, John Peacock wrote: >Don't use [Math] for anything you are not going to perform math on, and >not just for things that look like numbers. You will be sorry, maybe >not right away, but at some time you will. > >That being said, what you have below should work (we are doing the same >thing). This is our CartCookie.inc file (remove linebreaks >when using): > > > > >Mark Derrick wrote: >> >> Hi, >> we're looking to be able to set the [cart] value by pulling >it from a previously set cookie. >> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers? >> >> Thanks. >> >> Mark. >> > >------------------------------------------------------------- >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/ >------------------------------------------------------------- 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: Setting Cart value (John Peacock 2000)
  2. Re: Setting Cart value (Mark Derrick 2000)
  3. Re: Setting Cart value (Mike Davis 2000)
  4. Re: Setting Cart value (Kenneth Grome 2000)
  5. Re: Setting Cart value (John Peacock 2000)
  6. Re: Setting Cart value (John Butler 2000)
  7. Re: Setting Cart value (John Peacock 2000)
  8. Re: Setting Cart value (John Peacock 2000)
  9. Re: Setting Cart value (Mark Derrick 2000)
  10. Re: Setting Cart value (Mike Davis 2000)
  11. Re: Setting Cart value (John Peacock 2000)
  12. Re: Setting Cart value (Joseph D'Andrea 2000)
  13. Re: Setting Cart value (Mark Derrick 2000)
  14. Re: Setting Cart value (John Peacock 2000)
  15. Setting Cart value (Mark Derrick 2000)
  16. Re: Setting Cart value (Theo Najim 2000)
Thanks, what's really strange (or maybe not that strange!) is that when using [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes 3.0427201834694e+14 How else can we set a value for cart without using [math]?Mark. On Thursday, June 1, 2000, John Peacock wrote: >Don't use [math] for anything you are not going to perform math on, and >not just for things that look like numbers. You will be sorry, maybe >not right away, but at some time you will. > >That being said, what you have below should work (we are doing the same >thing). This is our CartCookie.inc file (remove linebreaks >when using): > > > > >Mark Derrick wrote: >> >> Hi, >> we're looking to be able to set the [cart] value by pulling >it from a previously set cookie. >> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers? >> >> Thanks. >> >> Mark. >> > >------------------------------------------------------------- >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/ >------------------------------------------------------------- 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/ Mark Derrick

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:

Grepping spaces (2004) WebCat B13 Mac CGI -- Frames question (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) embedding commands in form (1999) Emailer (1997) date tag not interpreted (2000) how to determine the actual file format of an image file? (2002) [shownext max (1997) WCS Newbie question (1997) RE: (1997) Seeking NT Mail Server Experiences (1998) Multiple fields on 1 input (1997) Database changes (1998) Jimmy (1998) how many users (2000) sending formatted e-mail? (1998) Upgrade to wsV (2004) WebCatalog stalls (1998) RE: OK, here goes... (1997) searchable list archive (1997)