Re: page redirect in webDNA
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13205
interpreted = N
texte = This may need some cleanup, but generally it would look like this:Selection Page:
Redirect.tpl[returnraw]HTTP/1.0 302 FoundLocation: [redirect][/returnraw]You may have to be careful about the returns after each line. Since PC'suse crlf and some NT web servers only want lf after each line, you shouldedit the AuthenticateChecker and keep its line breaks (or lack thereofsince they may be a single lf). Thanks.P.S. This is documented in the 2.0.1 that's coming out soon: I can't thinkof anything else that's new.John.>>You can use the same technique that is being used for the>>AuthenticateChecker (on NT and on Mac). That is, the [returnraw] context>>(new, not documented). The [returnraw] context lets you specify the MIME>>header information which means you can do the re-direct using WebDNA. Link>>to a page with the following:>>>>[returnraw]HTTP/1.0 302 Found>>Location: [newPage]>>>>[/returnraw]>>Thanks John. Gee I spent an hour modifying my script with some>Javascript. How would I integrate the above into this format:>>
>>Thanks John. Heh how about passing on a few more undocumented features!>>Cheers,>>Olin>>>>.....................................................................>W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON> director, website creation>Honolulu San Francisco> 2800 woodlawn drive 222 sutter street olin@worldpoint.com> suite 170 sixth floor www.worldpoint.com> honolulu, hi 96822 san francisco, ca 94108>> voice.808.539.3978 fax.808.539.3943 cell.808.291.1610>.....................................................................John A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
This may need some cleanup, but generally it would look like this:Selection Page:
Redirect.tpl
[returnraw]HTTP/1.0 302 FoundLocation:
[redirect][/returnraw]You may have to be careful about the returns after each line. Since PC'suse crlf and some NT web servers only want lf after each line, you shouldedit the AuthenticateChecker and keep its line breaks (or lack thereofsince they may be a single lf). Thanks.P.S. This is documented in the 2.0.1 that's coming out soon: I can't thinkof anything else that's new.John.>>You can use the same technique that is being used for the>>AuthenticateChecker (on NT and on Mac). That is, the
[returnraw] context>>(new, not documented). The
[returnraw] context lets you specify the MIME>>header information which means you can do the re-direct using WebDNA. Link>>to a page with the following:>>>>
[returnraw]HTTP/1.0 302 Found>>Location: [newPage]>>>>[/returnraw]>>Thanks John. Gee I spent an hour modifying my script with some>Javascript. How would I integrate the above into this format:>>
>>Thanks John. Heh how about passing on a few more undocumented features!>>Cheers,>>Olin>>>>.....................................................................>W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON> director, website creation>Honolulu San Francisco> 2800 woodlawn drive 222 sutter street olin@worldpoint.com> suite 170 sixth floor www.worldpoint.com> honolulu, hi 96822 san francisco, ca 94108>> voice.808.539.3978 fax.808.539.3943 cell.808.291.1610>.....................................................................John A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
John Hill
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:
I have observed and I am gone. (1998)
date tag not interpreted (2000)
Webcat table size. (2001)
Presenting a .txt file (2000)
Word search (1997)
[WebDNA] isolatin-1 to utf-8 conversion (2013)
Banner DNA (1997)
form data submission gets truncated (1997)
Banners (1997)
Sort Order on a page search (1997)
Formating found categories (1997)
WebDelivery: One step closer !! (1997)
WebMerchant & CC Response (2002)
Help name our technology! (1997)
WebMerchant 3.0 for Mac shipping now (1998)
ListFields and [name] (1997)
Stripping attachments in shared pop (2005)
WebCommerce: Folder organization ? (1997)
PCS Frames (1997)
RE: Purchased cart being overwritten (1997)