rejetto forum

posting variables with {.redirect.}

raybob · 5 · 3381

0 Members and 1 Guest are viewing this topic.

Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Can you make it so that there is a way to post variables to a page that is getting redirected to?

Here's an example of what I'm talking about:

{.redirect|http://www.domain.tld|variablename=content.}


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
add variables inside url
{.redirect|http://www.domain.tld/?variablename=content&variable2=content2&variable3=....... .}


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
I know you can do that, but for certain things I would much rather use posted variables rather than URL variables, which is why I wrote this.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
http redirection is only GET, no POST.
if you strictly need POST only thing you can do is outputting a page with an automatic POST via javascript.


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Ok thanks I didn't know it was a limit of http itself . . .