Re: can anyone confirm this behavior?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49764
interpreted = N
texte = I know... I know... I usually do use a direct link to index.html or whatever the default URL is, just thought it would be cool this time not to... I guess not :) - ckOn Friday, April 25, 2003, at 05:08 AM, John Peacock wrote:> 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/ > ------------------------------------------------------------- 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)
I know... I know... I usually do use a direct link to index.html or whatever the default URL is, just thought it would be cool this time not to... I guess not :) - ckOn Friday, April 25, 2003, at 05:08 AM, John Peacock wrote:> 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/ > ------------------------------------------------------------- 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/ Charles Kline

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:

carriage returns in data (1997) Replace Statement (1997) SpiderBotLock! (2003) Convertchars bug? (2003) [WebDNA] paypal (2009) maximu values for sendmail! (1997) What am I doing wrong? (2000) Weird bug, or is there something amiss? (1997) Where's Cart Created ? (1997) RAM variables (1997) lazy programming (2000) Undeliverable Mail (1997) re:check boxes (1997) Practice runs ? (1997) Root Folder problems cont. (1998) How do I make this faster???? (2000) WCS Newbie question (1997) Tax Rates returns only 0.00 (2000) webcat- multiple selection in input field (1997) Math with Time (1997)