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:

Review comparison by PC Magazine: Open for On-line Business (1997) WebCat2: Master Counter snippet (1997) Cart passing in URL.. (2004) Ongoing group search problems ... (1997) Doctype (2004) emailer (1997) suffix mapping, use of cache, etc. (1997) Browser (agent) stats... (2004) Problems with [Applescript] (1997) Funny Chars (1999) The & Problem (1998) Can this be done? (2003) WebCat b13 CGI -shownext- (1997) Logging purchases (1997) WebCat2.0 [format thousands .0f] no go (1997) Initiating NewCart (1997) PCS Frames-Default page is solution! (1997) Finding max value for a field (1997) Languages (1997) Previous and Next Solution (2004)