Re: [returnraw] and form variables
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16020
interpreted = N
texte = >Using [returnraw] to set HTTP headers is a great way to handle redirects >-- but is there any way to send form variables along for the ride? I'd >like to have a form call up a page, which sets a redirect based on the >form contents, and loads a new page which still has access to the >original form's variables.If you want the page that it is redirecting to to have access to variables,append them like this:[returnraw]HTTP/1.0 302 FoundLocation: yourTemplate.tpl?var1=x&var2=y&var3=z&cart=[cart][/returnraw]Aloha, Olin
Associated Messages, from the most recent to the oldest:
>Using
[returnraw] to set HTTP headers is a great way to handle redirects >-- but is there any way to send form variables along for the ride? I'd >like to have a form call up a page, which sets a redirect based on the >form contents, and loads a new page which still has access to the >original form's variables.If you want the page that it is redirecting to to have access to variables,append them like this:
[returnraw]HTTP/1.0 302 FoundLocation: yourTemplate.tpl?var1=x&var2=y&var3=z&cart=
[cart][/returnraw]Aloha, Olin
Olin Lagon
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:
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
RE: WebCat: Access denied, but why? (1997)
test (2004)
Calculating multiple shipping... (1997)
[searh] or [shownext]problem (1998)
WYSIWYG Editor? (2006)
Plugin or CGI or both (1997)
Hideif on IP range (2004)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
Other then credit cards-how? (1997)
Anybody see this before? (2006)
IE Cookies problem (2001)
Change in Host? (1999)
RE: Can a database get stomped by simultaneous access? (1997)
2.0 Info (1997)
FW: ANother SHOWIF problem (1997)
Formatting dates stored in db (2003)
Applescript, WebDNA, and PDF (1997)
Automatic POST arg sending? (1998)
Close-to Comparison Code (1998)