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:

splitting numbers in webDNA? (1997) formulas.db ?? (1998) Re[2]: when is failing to [URL]ize values in a comparison ri (1999) [referrer] tag (1997) OS X permissions to write to Globals directory (2003) Single Link browsing (1997) Frames and WebCat (1997) WebCat on Alpha? (1997) WebCatalog f2 Installation (1997) webCatalog and Stocks (1998) [protect] on NT? (1997) [WebDNA] Problems ... (2013) same products but different (1998) WebDNA versus ASP [OT] (2002) ups quickcost [repost] (1999) About the E-mailer (2002) problems with 2 tags (1997) RE: Missing contexts on NT (1997) A few questions. . . (1997) Assigning carts (1998)