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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [returnraw] and form variables (Sandra L. Pitner 1998)
  2. Re: [returnraw] and form variables (Sandra L. Pitner 1998)
  3. Re: [returnraw] and form variables (Olin Lagon 1998)
  4. Re: [returnraw] and form variables (Rob Marquardt 1998)
  5. Re: [returnraw] and form variables (Olin Lagon 1998)
  6. Re: [returnraw] and form variables (Grant Hulbert 1998)
  7. [returnraw] and form variables (Rob Marquardt 1998)
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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

OT - royalty free images (2002) Re[2]: Date Time Oddness (1999) Bug or syntax error on my part? (1997) A little syntax help (1997) Date problems-more (1997) [include] affect on filepaths for links? (1997) cart (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Cart Numbers (1997) Extended [ConvertChars] (1997) sorting by date (1999) Same DB Same Time (2004) Images do not upload completely ... (2003) Associative lookup style? + bit more (1997) Caching pages...again (2001) Country & Ship-to address & other fields ? (1997) Multiple servers and Webcat (1998) international time (1997) Prices coming up 0.00 (2001) Macs and SQL (2000)