Re: can anyone confirm this behavior?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49763
interpreted = N
texte = Charles Kline wrote: > If I go to: http://www.mysite.com and click a link that has this format > /shop/?cart=[cart] the index page index.html sets a new value for cart > even though I have passed the value in... > > If I change my URL to /shop/index.html?cart=[cart] it behaves normally...Then, as the old joke goes, Don't do that! Seriously, you are depending on the web server's default document handling for no good reason. I would doubt that most web servers would correctly handle URL parameters on a non-well-formed URL.If you want to keep your URL clean, store the cart in a cookie or always move between pages using POST's.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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: can anyone confirm this behavior? (Charles Kline 2003)
  2. Re: can anyone confirm this behavior? (John Peacock 2003)
  3. Re: can anyone confirm this behavior? (Kenneth Grome 2003)
  4. Re: can anyone confirm this behavior? (Rob Marquardt 2003)
  5. Re: can anyone confirm this behavior? (Charles Kline 2003)
  6. Re: can anyone confirm this behavior? (Jeff Logan 2003)
  7. can anyone confirm this behavior? (Charles Kline 2003)
Charles Kline wrote: > If I go to: http://www.mysite.com and click a link that has this format > /shop/?cart=[cart] the index page index.html sets a new value for cart > even though I have passed the value in... > > If I change my URL to /shop/index.html?cart=[cart] it behaves normally...Then, as the old joke goes, Don't do that! Seriously, you are depending on the web server's default document handling for no good reason. I would doubt that most web servers would correctly handle URL parameters on a non-well-formed URL.If you want to keep your URL clean, store the cart in a cookie or always move between pages using POST's.John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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/ John Peacock

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:

A multi-processor savvy WebCatalog? (1997) Applescript error (1998) E-mailer error codes (1997) Protecting Realms (1998) [WebDNA] maybe silly suggestion? [founditems] (2015) why .HTML pages no processing? (2000) FYI: virus alert (1996) Invisible file issue now a real 'bug' (1999) Cross OS Compatible HTML emailing (2003) FORMS: Returning a specific page (1997) all records returned. (1997) mail on NT (1998) [OT] MS Security Flaw (2000) WebCat B13 Mac CGI -- Frames question (1997) Extended [ConvertChars] (1997) Look out kiwis! (2003) gateway application timeouts (1998) [searchString] (1997) Looking for a Manual (1997) Re:Finding max value for a field (1997)