Re: [cart]=

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58535
interpreted = N
texte = Ah yes, thanks. I was thinking that [cart] would translate to a cart value in the showif without the raw in my 2nd example. So, this works fine: [showif [cart]=][redirect http://www.domain.com][/showif] I had some problems with bookmarking cart values and thus the first example, but now that I evaluate it, I guess it's pretty worthless isn't it. Looks like he got his problem sorted out anyways so I'll just quietly go back to what I was doing.... GK At 11:02 AM 6/22/2004, you wrote: >on 6/22/2004 8:34 am, Gary Krockover at gary@garykrockover.com so noted... > > > I always put [showif [raw][cart][/raw]=[cart]][redirect > > http://www.domain.com][/showif] at the top of all of my checkout pages to > > redirect a visitor back to the homepage if they've somehow lost their cart > > (cart=[raw][cart][/raw]). > >But this would never trip unless someone literally entered "cart=[cart]" in >the URL for the page. If no cart value was passed to the page, having [cart] >in your comparison would generate a new one (and the comparison would fail). > > > In your case, I guess you'd also need a [showif > [raw][cart][/raw]=][redirect > > http://www.domain.com][/showif] to accomplish the same thing. > >This one would never be true since it's comparing two unequal static >strings. > > > >Rob Marquardt ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart]= ( Gary Krockover 2004)
  2. Re: [cart]= ( Rob Marquardt 2004)
  3. Re: [cart]= ( Mark Derrick 2004)
  4. Re: [cart]= ( Mark Derrick 2004)
  5. Re: [cart]= ( Mark Derrick 2004)
  6. Re: [cart]= ( Gary Krockover 2004)
  7. Re: [cart]= ( Mark Derrick 2004)
  8. Re: [cart]= ( Donovan Brooke 2004)
  9. Re: [cart]= ( John Peacock 2004)
  10. Re: [cart]= ( Paul Uttermohlen 2004)
  11. [cart]= ( Mark Derrick 2004)
Ah yes, thanks. I was thinking that [cart] would translate to a cart value in the showif without the raw in my 2nd example. So, this works fine: [showif [cart]=][redirect http://www.domain.com][/showif] I had some problems with bookmarking cart values and thus the first example, but now that I evaluate it, I guess it's pretty worthless isn't it. Looks like he got his problem sorted out anyways so I'll just quietly go back to what I was doing.... GK At 11:02 AM 6/22/2004, you wrote: >on 6/22/2004 8:34 am, Gary Krockover at gary@garykrockover.com so noted... > > > I always put [showif [raw][cart][/raw]=[cart]][redirect > > http://www.domain.com][/showif] at the top of all of my checkout pages to > > redirect a visitor back to the homepage if they've somehow lost their cart > > (cart=[raw][cart][/raw]). > >But this would never trip unless someone literally entered "cart=[cart]" in >the URL for the page. If no cart value was passed to the page, having [cart] >in your comparison would generate a new one (and the comparison would fail). > > > In your case, I guess you'd also need a [showif > [raw][cart][/raw]=][redirect > > http://www.domain.com][/showif] to accomplish the same thing. > >This one would never be true since it's comparing two unequal static >strings. > > > >Rob Marquardt ------------------------------------------------------------- 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://webdna.smithmicro.com/ Gary Krockover

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:

deerfield/wingate server (2004) [group] ? (1997) show all problem (1997) LetterRip and WebCat & more (1998) Database changes (1998) Gathering the values of matching fields in a database. (1998) Ignoring [OrderFile] context (2005) Database wiped clean (2005) f2 download problems (1997) [WebDNA] Is there a D.E. database record limit? (2014) FEW QUESTIONS (1997) [SearchString] usage (1997) [WebDNA] Test - ignore (2019) Limitations on fields? Server is crashing (1997) Webten + Webcat running smooth (1998) WebCat2 - many [carts] on one template page? (1997) Error:Too many nested [xxx] contexts (1997) Snake Bites (1997) [input]?? (1998) 2 HTTP Servers on one machine (2006)