Re: Arbitrary limits on length of data in cart header fields?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26211
interpreted = N
texte = Just for your further edification, because of the way that WebCat displays IP addresses, _all_ IP addresses are exactly 15 characters long (999.999.999.999).As for your question about field lengths, PCS will need to document any fields that are not explicitly listed in the on-line docs (under the Purchase command). I can tell you that it is always faster to use fixed length fields. I suspect if you have already used up 40 * 255 bytes in the Header fields that you need to revisit your database design. If you had a secondary database, tied by Cart number to the Order File, you would still have RAM speed access to your data. What are you trying to store in the Header fields, if I may be so bold?John Peacock ____________________Reply Separator____________________ Subject: Arbitrary limits on length of data in cart header fields? Author: (WebCatalog Talk) Date: 1/14/00 6:11 PMThis would be one for the WebCat Experts list ; )In storing data in my cart header fields, I've used up headers 1-40 and I'm moving on to use some of my unused named fields at the bottom (which I previously thought worked the same as the numbered headers).A string I put into into CartIPAddress gets clipped at 15 characters -- D'oh!The questions:1) What are the character length limits for each of the cart header fields (since it's apparently not consistent across the board)?2) WHY are the character length limits different for the various cart header fields?In the CartIPAddress limitation above, if I was using it for its *intended* purpose and I'm trying to pass more than 15 characters as an IP address, I've got bigger problems to solve and truncating the length at 15 isn't helping any (in fact, it may hinder the debugging process).Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com------------------------------------------------------------- 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: Arbitrary limits on length of data in cart header fields? (Rob Marquardt 2000)
  2. Re: Arbitrary limits on length of data in cart header fields? (jpeacock@univpress.com 2000)
  3. Arbitrary limits on length of data in cart header fields? (Rob Marquardt 2000)
Just for your further edification, because of the way that WebCat displays IP addresses, _all_ IP addresses are exactly 15 characters long (999.999.999.999).As for your question about field lengths, PCS will need to document any fields that are not explicitly listed in the on-line docs (under the Purchase command). I can tell you that it is always faster to use fixed length fields. I suspect if you have already used up 40 * 255 bytes in the Header fields that you need to revisit your database design. If you had a secondary database, tied by Cart number to the order file, you would still have RAM speed access to your data. What are you trying to store in the Header fields, if I may be so bold?John Peacock ____________________Reply Separator____________________ Subject: Arbitrary limits on length of data in cart header fields? Author: (WebCatalog Talk) Date: 1/14/00 6:11 PMThis would be one for the WebCat Experts list ; )In storing data in my cart header fields, I've used up headers 1-40 and I'm moving on to use some of my unused named fields at the bottom (which I previously thought worked the same as the numbered headers).A string I put into into CartIPAddress gets clipped at 15 characters -- D'oh!The questions:1) What are the character length limits for each of the cart header fields (since it's apparently not consistent across the board)?2) WHY are the character length limits different for the various cart header fields?In the CartIPAddress limitation above, if I was using it for its *intended* purpose and I'm trying to pass more than 15 characters as an IP address, I've got bigger problems to solve and truncating the length at 15 isn't helping any (in fact, it may hinder the debugging process).Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com------------------------------------------------------------- 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 jpeacock@univpress.com

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:

Generating Report Totals (1997) form crasehes server (1997) Re:Searching for ALL / empty form field (1997) [WebDNA] Code Library (2013) WebCat2b12 - nesting [tags] (1997) Error 11 (1996) WebCatalog Technical Reference (1997) [WebDNA] How does waitforfile actually work? (2009) StoreBuilder and PayPal (2002) Date/Time format problems (1997) [WebDNA] Setting up a new server, hierarchy question (2014) Field Totals (2004) RE: [WebDNA] Anyone using version 6.2.1 in production on Linux (2013) [numfound] within summ=t ??? (2000) Multiple Sendmail Tags on One Page (2008) Running 2 two WebCatalog.acgi's (1996) sendmail for email (was Netforms) (1998) Looking For WebCatalog Migration Assistance (2003) E-Mailer (WebCatb15acgiMac) (1997) Pipes instead of tabs (1998)