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:

WebMerchant 1.6 and SHTML (1997) webDNA and flash UTF8 translation (2003) A few questions. . . (1997) possible, WebCat2.0 and checkboxes-restated (1997) Storebuilder, Smith-Micro Tech Support (2000) How do I get WebCatalog to interpret WebDNA tags in .html files? (1997) Anyone using Verisign's Payflow Link for payment processing? (2000) waitforfile then redirect (2001) Lastautonumber (2005) Problem with webcat install (1998) Upload Progress Bar (2003) Cart Numbers (1997) Is this possible, WebCat2.0 and checkboxes (1997) Personal Web Server (1998) Automatically resizing mac jpg's wi applescript (2000) Cart doesn't interpret tag! (1997) Error Log.db --however (1997) U&P IIS concept (1998) Search/sort in URL Was: GuestBook example (1997) Stumpted Again (1997)