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:

Fw: [SQL] and [index] mystery solved (2001) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Unexpected error (1997) multi-paragraph fields (1997) Database changes (1998) Problems with webcat 2.01 for NT (1997) [WebDNA] Searching Possible Bug (2009) Newbie needs advice to learn to use WebDNA (2003) PCS Frames (1997) WebCat2b13MacPlugIn - [include] (1997) Limiting user access to .tmpl files (1997) users change an email address (2002) Help! WebCat2 bug (1997) New public beta available (1997) FORMS: Returning a specific page (1997) do NOT process webdna tags (2005) Running 2 two WebCatalog.acgi's (1996) Random sort is not random at all..... (2000) taxTotal (1997) Test (2003)