Re: Redirect in 4.0

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31903
interpreted = N
texte = > >Does any one know if in 4.0 I would be able to do something like this: >> >>[redirect http://www.whatever.com/ >>method=post&username=secret&password=somesecret] >> >>I'd like to pass variables in redirects and keep them hidden from the >>users by using post. > >If you can tell us how to do it technically, we can try to put this >in someday. But I don't know if the HTTP spec permits it or not.Boy, this would be a really cool feature.Correct me if I'm wrong, but [REDIRECT] really just sends an HTTP redirect request to the person's browser, right?So it would be pretty cool if there were something akin to [REDIRECT] that worked on an internal level. That is, it would actually serve up a different page on execution like REDIRECT, but in a different way. So, the order of things might go like this:-Browser sends request to web* (for example) -Web* sends page to WebCat for processing -If the page contains a [REDIRECT-TWO] (for lack of a better name), WebCat discards the results that it was ready to send back to Web* -WebCat sends an internal request to process the template requested in the [REDIRECT-TWO] tag -WebCat sends the result of this internal request to Web* -Web* serves back the page to the browser.This would take care of Paul's request and might have some other useful applications (I think I had one or two uses over the past few years).This may be completely unworkable. Please excuse my ramblings if it is.Michael############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Redirect in 4.0 (Kenneth Grome 2000)
  2. Re: Redirect in 4.0 (Michael Winston 2000)
  3. Re: Redirect in 4.0 (GHulbert@smithmicro.com 2000)
  4. Re: Redirect in 4.0 (Michael Winston 2000)
  5. Re: Redirect in 4.0 (GHulbert@smithmicro.com 2000)
  6. Re: Redirect in 4.0 (Paul Uttermohlen 2000)
  7. Re: Redirect in 4.0 (GHulbert@smithmicro.com 2000)
  8. Redirect in 4.0 (Paul Uttermohlen 2000)
> >Does any one know if in 4.0 I would be able to do something like this: >> >>[redirect http://www.whatever.com/ >>method=post&username=secret&password=somesecret] >> >>I'd like to pass variables in redirects and keep them hidden from the >>users by using post. > >If you can tell us how to do it technically, we can try to put this >in someday. But I don't know if the HTTP spec permits it or not.Boy, this would be a really cool feature.Correct me if I'm wrong, but [redirect] really just sends an HTTP redirect request to the person's browser, right?So it would be pretty cool if there were something akin to [redirect] that worked on an internal level. That is, it would actually serve up a different page on execution like REDIRECT, but in a different way. So, the order of things might go like this:-Browser sends request to web* (for example) -Web* sends page to WebCat for processing -If the page contains a [REDIRECT-TWO] (for lack of a better name), WebCat discards the results that it was ready to send back to Web* -WebCat sends an internal request to process the template requested in the [REDIRECT-TWO] tag -WebCat sends the result of this internal request to Web* -Web* serves back the page to the browser.This would take care of Paul's request and might have some other useful applications (I think I had one or two uses over the past few years).This may be completely unworkable. Please excuse my ramblings if it is.Michael############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Michael Winston

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:

NT - Thanks and Taxes (1997) Cart date/time (2006) Does update cart input have to be a submit? (2005) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [WebDNA] bug in sending & character to DOS (2010) Trouble with formula.db + more explanation (1997) bug in [SendMail] (1997) WC1.6 to WC2 date formatting -FIXED! (1997) [WebDNA] [BULK] which of these tags exist in 7.0 (2011) New index for docs (1997) Shopping Carts (2000) WebCatalog 4.0.1 has been released! (2000) RE: Languages (1997) Summing a field full of numbers ... (1997) Error: this shopping cart has already been submittedm (2004) Progress !! WAS: Trouble with formula.db (1997) Re[3]: Re[3]: Problem with new formvariables (2000) NT vs Mac (1997) Installing WebCat under Linux Q (2000) WCS Newbie question (1997)