when is failing to [URL]ize values in a comparison risky?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25326
interpreted = N
texte = Linux RedHat 6 webcat 3.xI have this code on my shoppingcart.tmpl-[showif [Header10]=yes][Header11], you ... [/showif]sometimes there will be no value for [Header11], sometimes it will equal yes. I haven't narrowed it down to be sure, but I think webcat is crashing on reaching this page every time. The above line of code is the only thing I have changed since the page used to work fine... (though it was on a mac server before that line got added and the crashes started... but I assume the crashes would have happened on the mac before if some other code on the page is the culprit.) I remember a couple weeks ago a discussion on blank values in a comparison like [showif] can cause crashes... Can someone define when one side or the other *must* be wrapped in an [URL] context to prevent crashes (if this is even a valid statement) ??like so-[showif [URL][Header10][/URL]=yes][Header11], you ... [/showif]?-John ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: when is failing to [URL]ize values in a comparison risky? (John Butler 1999)
  2. Re: when is failing to [URL]ize values in a comparison risky? (Kenneth Grome 1999)
  3. Re: when is failing to [URL]ize values in a comparison risky? (John Butler 1999)
  4. Re: when is failing to [URL]ize values in a comparison risky? (Kenneth Grome 1999)
  5. Re: when is failing to [URL]ize values in a comparison risky? (John Butler 1999)
  6. Re: when is failing to [URL]ize values in a comparison risky? (jpeacock@univpress.com 1999)
  7. when is failing to [URL]ize values in a comparison risky? (John Butler 1999)
  8. when is failing to [URL]ize values in a comparison risky? (John Butler 1999)
Linux RedHat 6 webcat 3.xI have this code on my shoppingcart.tmpl-[showif [Header10]=yes][Header11], you ... [/showif]sometimes there will be no value for [Header11], sometimes it will equal yes. I haven't narrowed it down to be sure, but I think webcat is crashing on reaching this page every time. The above line of code is the only thing I have changed since the page used to work fine... (though it was on a mac server before that line got added and the crashes started... but I assume the crashes would have happened on the mac before if some other code on the page is the culprit.) I remember a couple weeks ago a discussion on blank values in a comparison like [showif] can cause crashes... Can someone define when one side or the other *must* be wrapped in an [url] context to prevent crashes (if this is even a valid statement) ??like so-[showif [url][Header10][/URL]=yes][Header11], you ... [/showif]?-John ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 John Butler

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:

Running a store on BOTH http and https (1998) method of payment (1997) Moving records (2000) Calendar (1997) Commit Databases and losing data... (2000) [WebDNA] Converting minutes to hours (2008) security (1997) Help! Missing [showif] or [hideif] (2000) RAM problems, [appendfile] problems (1998) Kaaaaahhhhhhhnnnnnnn! (1997) Error 551 (2000) Shopping problems with 2.1b3 acgi (1997) AutoCommit Preference? (1998) webstar (ot) (2001) Semi OT: vbulletin and # viewing - how do that do that? (2003) Does anyone have a solution to make carts smaller? (1998) WebCat2final1 crashes (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat2b15MacPlugin - [protect] (1997) New syntax feedback for 4.0 (2000)