Re: can anyone confirm this behavior?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49756
interpreted = N
texte = >WebDNA 4.5 - OS X >WebStar 5 > >It seems that the webserver (webdna?) is treating > >http://www.mysite.com/?cart=[cart] as a different page then >http://www.mysite.com/index.html?cart=[cart] even though index.html >is the only page in the directory. > >This is what is happening. > >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... > >any ideas? My guess is that when WebSTAR cannot find the non-specified file, it ignores the URL parameters in its attempt to fix your URL by finding and serving one of the default index.html pages listed in WebSTAR Admin.Is index.html the FIRST or the ONLY default page specified in WebSTAR Admin?The reason I ask is because *maybe* if index.html were the first (or the only) default page listed, then maybe WebSTAR won't behave this way ...It is possible that WebSTAR loses the URL parameters only when it cannot find the FIRST default file on the list. I doubt that this is the case here, but stranger things have been known to happen, so it may be worth your time to run a test like this just to see if this is what's going on -- especially if you really want to continue using incomplete URLs when you write your HTML.But actually, if I were you, I would just adopt a practice of using proper URLs from now on, especially now that you know this can be a problem on at least one server software. Then you can eliminate this problem not only when your sites are being served via WebSTAR, but also if they will be moved to any other server software in the future ... -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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)
>WebDNA 4.5 - OS X >WebStar 5 > >It seems that the webserver (webdna?) is treating > >http://www.mysite.com/?cart=[cart] as a different page then >http://www.mysite.com/index.html?cart=[cart] even though index.html >is the only page in the directory. > >This is what is happening. > >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... > >any ideas? My guess is that when WebSTAR cannot find the non-specified file, it ignores the URL parameters in its attempt to fix your URL by finding and serving one of the default index.html pages listed in WebSTAR Admin.Is index.html the FIRST or the ONLY default page specified in WebSTAR Admin?The reason I ask is because *maybe* if index.html were the first (or the only) default page listed, then maybe WebSTAR won't behave this way ...It is possible that WebSTAR loses the URL parameters only when it cannot find the FIRST default file on the list. I doubt that this is the case here, but stranger things have been known to happen, so it may be worth your time to run a test like this just to see if this is what's going on -- especially if you really want to continue using incomplete URLs when you write your HTML.But actually, if I were you, I would just adopt a practice of using proper URLs from now on, especially now that you know this can be a problem on at least one server software. Then you can eliminate this problem not only when your sites are being served via WebSTAR, but also if they will be moved to any other server software in the future ... -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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/ Kenneth Grome

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:

Saving Text Areas with Orders (1997) Need relative path explanation (1997) WebDNA & Linux RH ES install question (2004) The code, one more time. (2003) Unzip (2005) Rams SuperBowl Champs (2000) Merchant account (1998) & in Lookups (1997) 2.0Beta Command Ref (can't find this instruction) (1997) problems with WebCat-Plugin () Netscape v. IE (1997) WebCatalog Mac 2.1b3 (1997) SMSI, please fix the StandardConversions.db (2005) Help!!!! (1997) [Announce] WebCatalog 3.0 Beta Program (1998) Lineitems not showing up in ThankYou page (2006) Re2: frames & carts (1997) Re:multiple digests, please stop (1997) Truncated Sendmail (1998) Showing formatted results in tables (2002)