Forums / Developer / Module/view redirect while preserving POST variables / Comment49109
Maxime Thomas
Friday 22 February 2008 6:11:13 am
Hi,
You can also write a module that will translate your post variables in module params. By this way, you can redirect as many time as you want saving all your post data in the url.
For example, you've got two input : val1 and val2. You can post on a specific module redirect/redirect and this one will convert 1 and 2 to your desired module mymodule/myfunction/val1/val2.
It's another point to avoid putting data in the session.
Hope it helps.
Maxime Thomas maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou Company Blog : http://www.wascou.org/eng/Company/Blog Technical Blog : http://share.ez.no/blogs/maxime-thomas