Re: name-value pairs

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68038
interpreted = N
texte = URL encoding is probably the issue. You'd notice how cumbersome an URL with 2048 characters was. You're probably hitting a name-value pair where the value has a space or ampersand character, which is truncating your URL. On Oct 17, 2006, at 11:30 AM, Marc Thompson wrote: > RFC 2068 states: > > Servers should be cautious about depending on URI lengths > above 255 bytes, because some older client or proxy implementations > may not properly support these lengths. > > The spec for URL length does not dictate a minimum or maximum URL > length, but implementation varies by browser. On Windows: Opera > supports ~4050 characters, IE 4.0+ supports exactly 2083 > characters, Netscape 3 -> 4.78 support up to 8192 characters before > causing errors on shut-down, and Netscape 6 supports ~2000 before > causing errors on start-up. > > As John states, switch to POST to bypass the GET limits. > Also, remember the values are URL encoded... > > Marc > > Jyoti Behrani wrote: > >> Hi, >> I am trying to capture the name/value pair from the url returned >> by my processing process, but for some reason I can only capture >> first few of the name/value pair. The rest of the name/value pair >> have null values. >> I was wondering is there any limit on how many variables or >> characters you can pass through url ? >> I can capture all the variables using a jsp but not within a .tpl >> file. Any clues on how/why this is happening. >> Thank you for your anticipation. >> --Jyoti >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: name-value pairs ( Pat McCormick 2006)
  2. Re: name-value pairs ( Marc Thompson 2006)
  3. Re: name-value pairs ( John Peacock 2006)
  4. Re: name-value pairs ( John Peacock 2006)
  5. Re: name-value pairs ( Marc Thompson 2006)
  6. name-value pairs ( "Jyoti Behrani" 2006)
URL encoding is probably the issue. You'd notice how cumbersome an URL with 2048 characters was. You're probably hitting a name-value pair where the value has a space or ampersand character, which is truncating your URL. On Oct 17, 2006, at 11:30 AM, Marc Thompson wrote: > RFC 2068 states: > > Servers should be cautious about depending on URI lengths > above 255 bytes, because some older client or proxy implementations > may not properly support these lengths. > > The spec for URL length does not dictate a minimum or maximum URL > length, but implementation varies by browser. On Windows: Opera > supports ~4050 characters, IE 4.0+ supports exactly 2083 > characters, Netscape 3 -> 4.78 support up to 8192 characters before > causing errors on shut-down, and Netscape 6 supports ~2000 before > causing errors on start-up. > > As John states, switch to POST to bypass the GET limits. > Also, remember the values are URL encoded... > > Marc > > Jyoti Behrani wrote: > >> Hi, >> I am trying to capture the name/value pair from the url returned >> by my processing process, but for some reason I can only capture >> first few of the name/value pair. The rest of the name/value pair >> have null values. >> I was wondering is there any limit on how many variables or >> characters you can pass through url ? >> I can capture all the variables using a jsp but not within a .tpl >> file. Any clues on how/why this is happening. >> Thank you for your anticipation. >> --Jyoti >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ Pat McCormick

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:

PCS Emailer's role ? (1997) apparently to problem isolated (1997) Good vs. Bad; also [setHeader] (2002) Re:Authenticate (1998) Generating unique SKU from [cart] - FIXED! (1997) Unknown error: OrderNotCreated (1997) Subject: Authenticating users without dialog box (1997) [sendmail] v. [writefile] (2000) Re:MacOSX/Apache? (1999) Exclamation point (1997) WebCat2 Append problem (B14Macacgi) (1997) Reversing [ipaddress] normalization (1998) First postarg not taking in $Commands (1997) grep question - removing spaces (2005) unique ascending numbers (2003) Ampersand (1997) Suffix Mapping (1997) xmlparse and utf-8 encoding (2006) CVS Files for databases (2000) Applescript error (1998)