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:
[WebDNA] unique words (2009)
WebCat editing, SiteGuard & SiteEdit (1997)
Search design (1997)
Can [writefile] files be served thru webcat? (2000)
WC2.0 Memory Requirements (1997)
[WebDNA] Permissions changing of .db (2013)
OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998)
Possible Shownext from Listfiles???? (2000)
Date Formats (1997)
show all problem (1997)
Search crashing server (1998)
Removing [showif] makes a big difference in speed (1997)
problems with 2 tags (1997)
Pithy questions on webcommerce & siteedit (1997)
Different Drive (2003)
Re:2nd WebCatalog2 Feature Request (1996)
Email (1998)
WebCat b13 CGI -shownext- (1997)
converting tabs (1997)
Looking for someone to double check my code... (1999)