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:
[sendmail] and [formvariables] (1997)
Misunderstanding?? (1997)
WebCatalog for guestbook ? (1997)
C is for cookie - that's good enough for me... (2001)
automating txt downloads for conversion to webcat db (2006)
Protect vs Authenicate (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
Bug Report, maybe (1997)
Duplicates (1998)
9 digit zip (2002)
Just Testing (1997)
[SearchString] problem with [search] context (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
Off Topic - OS X web server, FTP accounts (2003)
emailer error -108 (1997)
Stumpted Again (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
UPDATE PROBLEM (1997)
Help! WebCat2 bug (1997)
Showing unopened cart (1997)