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:
Conveting Characters to Graphics (1997)
cookies (2001)
ARGH! (2003)
Webten + Webcat running smooth (1998)
Possible Bug in 2.0b15.acgi (1997)
Fwd: Image Pirating [protecting against] (2003)
I'm new be kind (1997)
Support ?? (1997)
WebDNA 5.1 and Mac OS X Server v10.3 - Working ??? (2003)
URGENT! ACGI Stopped!!!! (1997)
RAM variables (1997)
Help! WebCat2 bug (1997)
WebDNA Partner edition .. (2002)
Part Html part WebDNA (1997)
expired beta (1997)
[INCLUDE] Limitations (1998)
problems with 2 tags (1997)
RE: Languages (1997)
Logging purchases (1997)
4.0 Plugin under Webten (2000)