Re: ReturnRaw and redirect one last question

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13687
interpreted = N
texte = >All html has to be between the [returnraw] and [/returnraw] per the docs if >I read them correctly. So if I wanted to update a db. I would put the >[replace] right after or before the location???? > >[ReturnRaw]HTTP/1.0 302 Found >Location: [redirect] >[include /macro/mainheader.tmpl] > > >[/ReturnRaw]In general for the ReturnRaw context, any HTML you want visible to the visitor should go after the second blank line (inside [/ReturnRaw]), but any WebDNA you want executed can be put previous to the [ReturnRaw] context, or inside it if you prefer. Obviously if you use the 302 code, then nothing inside the page will be displayed, because your browser will do the redirect before it has a chance to show to page contents.>Don't anyone laugh to hard, but the application for this is a series of >bookmarks out of a database for my marketing department to use via our >intranet and then out to the www to make sure they visit our competitorsCute! I'm always amazed at the things people do with WebCatalog. Glad to hear it.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: ReturnRaw and redirect one last question (Grant Hulbert 1997)
  2. ReturnRaw and redirect one last question (grichter@panavise.com (Gary Richter) 1997)
>All html has to be between the [returnraw] and [/returnraw] per the docs if >I read them correctly. So if I wanted to update a db. I would put the >[replace] right after or before the location???? > >[returnraw]HTTP/1.0 302 Found >Location: [redirect] >[include /macro/mainheader.tmpl] > > >[/ReturnRaw]In general for the ReturnRaw context, any HTML you want visible to the visitor should go after the second blank line (inside [/ReturnRaw]), but any WebDNA you want executed can be put previous to the [returnraw] context, or inside it if you prefer. Obviously if you use the 302 code, then nothing inside the page will be displayed, because your browser will do the redirect before it has a chance to show to page contents.>Don't anyone laugh to hard, but the application for this is a series of >bookmarks out of a database for my marketing department to use via our >intranet and then out to the www to make sure they visit our competitorsCute! I'm always amazed at the things people do with WebCatalog. Glad to hear it.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

IIS4 & Password Authentication, request example (1998) file upload (2001) NT vs Mac (1997) [include] affect on filepaths for links? (1997) Erotic Sites (1997) [date] insanity! (2001) Up and running ... at last !! (1997) WebCatalog on G3 Macs? (1997) Somewhat OT: IE issues (2002) Multiple download orders of the same product? (1997) HTTP "host" header (2003) Web Catalog 2 demo (1997) Not really WebCat - need HTML Grider (1997) [WebDNA] RESTART WebDNA (2016) PCS Frames (1997) quantity minimum problem (1997) [/application] error? (1997) New Web Site Developers Database (1996) Major bug report on rootbeer (1997) OIT Firewall for Windows 2000 Server (2005)