Re: [returnraw] and form variables
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16026
interpreted = N
texte = On 2/15/98 4:19 PM, Olin Lagon so noted...>>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 Found>Location: yourTemplate.tpl?var1=x&var2=y&var3=z&cart=[cart]>>[/returnraw]>>Aloha, OlinTrue, I had thought of sending everything via the URL, but I've been passing everything through forms so the information doesn't appear in the browser's location field (also, sometimes there's quite a bit of information to pass). I'm wondering if I can pass the values from a form on one page, through the redirect, to be used by WebCat on the final page -- staying hidden from view all the way. I've been looking through the HTTP specs at w3.org and see how the name/value pairs are passed, but don't understand exactly how to format the commands for the header.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 2/15/98 4:19 PM, Olin Lagon so noted...>>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 Found>Location: yourTemplate.tpl?var1=x&var2=y&var3=z&cart=
[cart]>>[/returnraw]>>Aloha, OlinTrue, I had thought of sending everything via the URL, but I've been passing everything through forms so the information doesn't appear in the browser's location field (also, sometimes there's quite a bit of information to pass). I'm wondering if I can pass the values from a form on one page, through the redirect, to be used by WebCat on the final page -- staying hidden from view all the way. I've been looking through the HTTP specs at w3.org and see how the name/value pairs are passed, but don't understand exactly how to format the commands for the header.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
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:
RE: Emailer prefs in two places ... (1997)
New Mac Public Beta Available (1997)
If Empty ? (1997)
This message couldn't reach the list! (multi-column (1998)
Make sure I understand this??? (1997)
Multiple prices (1997)
Variable prices and Formulas.db (1997)
webdelivery.html and webna (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
why why why (2004)
[WebDNA] feature suggestion - long response (2011)
Error Log.db --however (1997)
Question re: FlushDatabases (1997)
[ShowNext] (2007)
WebCat2final1 crashes (1997)
Bug Report, maybe (1997)
Connection Speed (2002)
WebCatalog can't find database (1997)
math on date? (1997)
OFF-TOPIC: No messages since Saturday (1998)