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.- BrianOn 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 FriesBrainScan 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:
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.- BrianOn 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 FriesBrainScan 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:
URGENT! Locked DB's (2001)
Ok here is a question? (1997)
[WebDNA] Froala Editor working with WebDNA (2016)
IE Cache Problems... (1999)
minimalist shopping cart. (1997)
Giving out error pages (1997)
[taxRate] [TaxTotal] ? (1997)
FYI: virus alert (1996)
Stay on Products page (2003)
HELP WITH DATES (1997)
Searching multiple criteria (2000)
WebCat2: Formulas.db question (1997)
Sorting LISTFILES (1997)
F3 crashing server (1997)
Displaying photo attached to first record (1997)
Secure Server (1997)
emailer (1997)
Multiple catalog databases and showcart (1997)
Dynamic drop downs (2005)
Number of Open Databases (1998)