Redirect function (was Re: Bug fixes for next WebDNA release)

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62698
interpreted = N
texte = Thanks for the tip. Is there a listsetcookies on the way for cookies set on a page? ;-) If not, time for another function. Bill -----Original Message----- From: Scott Anderson Sent: Thu, 28 Jul 2005 12:54:01 -0700 To: "WebDNA Talk" Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release Good idea! One other point to make. The native [redirect] tag does send back any cookie directives you may have created via the [SetCookie] context. If this is the case, you will need to manually add those cookie response headers to your returnraw code. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of devaulw@onebox.com Sent: Thursday, July 28, 2005 12:40 PM To: WebDNA Talk Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release If I can do that, I can also create a function named "redirect" that overrides the internal command. Perhaps that what I'll do until things change. Thanks for the idea. The beginnings of my pseudo code: [function name=redirect] [if [type]=301] [then] [returnraw]301[/returnraw] [/then] [else] [returnraw]302[/returnraw] [/else] [/function] [redirect url=[newurl]&type=301] -----Original Message----- From: Scott Anderson Sent: Thu, 28 Jul 2005 10:58:10 -0700 To: "WebDNA Talk" Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release Sounds reasonable. You can also use the [returnraw] context to create you own custom redirect. ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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:

    
Thanks for the tip. Is there a listsetcookies on the way for cookies set on a page? ;-) If not, time for another function. Bill -----Original Message----- From: Scott Anderson Sent: Thu, 28 Jul 2005 12:54:01 -0700 To: "WebDNA Talk" Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release Good idea! One other point to make. The native [redirect] tag does send back any cookie directives you may have created via the [SetCookie] context. If this is the case, you will need to manually add those cookie response headers to your returnraw code. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of devaulw@onebox.com Sent: Thursday, July 28, 2005 12:40 PM To: WebDNA Talk Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release If I can do that, I can also create a function named "redirect" that overrides the internal command. Perhaps that what I'll do until things change. Thanks for the idea. The beginnings of my pseudo code: [function name=redirect] [if [type]=301] [then] [returnraw]301[/returnraw] [/then] [else] [returnraw]302[/returnraw] [/else] [/function] [redirect url=[newurl]&type=301] -----Original Message----- From: Scott Anderson Sent: Thu, 28 Jul 2005 10:58:10 -0700 To: "WebDNA Talk" Subject: Re: SMSI (Scott) clues?? Bug fixes for next WebDNA release Sounds reasonable. You can also use the [returnraw] context to create you own custom redirect. ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ devaulw@onebox.com

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:

Summary search -- speed (1997) Migrating to NT (1997) For those of you not on the WebCatalog Beta... (1997) Date field search needs ... (1998) [WebDNA] Bullet proof dynamic tables (2009) Display [price] in banner ad (1998) Claris HomePage messes up the code (1997) emailer (1997) file upload type restrictions? (2001) Problem (1997) Webstar 1.3.1 PPC (1997) Help ! Frustrating Problem (1999) Multithreading of [replace] (1999) posting dynamically created controls. (2001) WebCatalog Mac 2.1b3 (1997) [WebDNA] Hosting Question (2010) Search minus first found (1999) HELP WITH DATES (1997) WebCat2 - [SendNews] (1997) carriage returns in data (1997)