Re: Local redirects ...

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63145
interpreted = N
texte = I make a point of deciding what content I need before any HTML is generated to avoid this problem... [if (need content from a different page)] [then] [include (different page)] [/then] [else] (this page) [/else] [/if] If for some reason you must make this decision further down the page, and need to basically throw away the HTML that has already been generated, then yeah, redirect is the tag for that. I can see the convenience in having your [jumptofile] tag, but there appear to be plenty of workarounds in the meantime. - Brian On Sep 28, 2005, at 5:55 PM, Kenneth Grome wrote: > This won't work because the rest of the content of the original > page will > still appear there if I use an include tag ... and I don't want any of > the content of the original page to be displayed, that's why I use > redirects in my code in the first place. However ... > > I never care if the browser is redirected because I never redirect > to any > off-site files. I only use redirects as an easy way to branch to a > different webdna page on the same server. > > And I do not care if the URL has changed in the browser, nor do I care > about the browser requesting the other page, provided that webdna > would > just serve that other page immediately, rather than redirecting to the > browser. > > I think that many of us who use the redirect tag like I do could > easily > get away with using a [jumptofile] tag instead. It just "makes > sense" to > tell webdna to serve my redirect pages directly, rather than > telling the > browser about it. > > Sincerely, > Kenneth Grome > www.kengrome.com > > > > > > > >> Redirect returns a command to the browser to fetch a different page, >> thus the URL in the address bar changes. If you just want to server >> the same content from an additional URL, you can simply use >> >> [include (target page)] >> Brian Fries BrainScan Software ------------------------------------------------------------- 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: Local redirects ... ( John Peacock 2005)
  2. Re: Local redirects ... ( "Kenneth Grome" 2005)
  3. Re: Local redirects ... ( Brian Fries 2005)
  4. Re: Local redirects ... ( Clint Davis 2005)
  5. Re: Local redirects ... ( "Kenneth Grome" 2005)
  6. Re: Local redirects ... ( Jesse Proudman 2005)
  7. Re: Local redirects ... ( Brian Fries 2005)
  8. Re: Local redirects ... ( William DeVaul 2005)
  9. Local redirects ... ( "Kenneth Grome" 2005)
I make a point of deciding what content I need before any HTML is generated to avoid this problem... [if (need content from a different page)] [then] [include (different page)] [/then] [else] (this page) [/else] [/if] If for some reason you must make this decision further down the page, and need to basically throw away the HTML that has already been generated, then yeah, redirect is the tag for that. I can see the convenience in having your [jumptofile] tag, but there appear to be plenty of workarounds in the meantime. - Brian On Sep 28, 2005, at 5:55 PM, Kenneth Grome wrote: > This won't work because the rest of the content of the original > page will > still appear there if I use an include tag ... and I don't want any of > the content of the original page to be displayed, that's why I use > redirects in my code in the first place. However ... > > I never care if the browser is redirected because I never redirect > to any > off-site files. I only use redirects as an easy way to branch to a > different webdna page on the same server. > > And I do not care if the URL has changed in the browser, nor do I care > about the browser requesting the other page, provided that webdna > would > just serve that other page immediately, rather than redirecting to the > browser. > > I think that many of us who use the redirect tag like I do could > easily > get away with using a [jumptofile] tag instead. It just "makes > sense" to > tell webdna to serve my redirect pages directly, rather than > telling the > browser about it. > > Sincerely, > Kenneth Grome > www.kengrome.com > > > > > > > >> Redirect returns a command to the browser to fetch a different page, >> thus the URL in the address bar changes. If you just want to server >> the same content from an additional URL, you can simply use >> >> [include (target page)] >> Brian Fries BrainScan Software ------------------------------------------------------------- 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/ Brian Fries

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:

credit card (1997) WebCat2_Mac RETURNs in .db (1997) Shop till you drop dead on the avenue ... (1997) looping through the headers of an orderfile (2000) Occasional crashes with $remove (1997) PCS Frames (1997) Caching [include] files ... (1997) why why why (2004) Javascript & Search Results (1998) normal users.db calls ... (1998) MacOS X upgrade pricing plan (1999) passing search criteria (1997) [WebDNA] exemple of [arrayset] & [arrayget] (2012) WebCat2: Items xx to xx shown, etc. (1997) WebMerchant Only reads 1.4 order files error (1997) [ShowNext] (1997) Multiple security dbs (1997) RE: Upload (1998) ListFiles Bug (1998) WebCatalog for Postcards ? (1997)