Module result after redirect

Author Message

Franck Grenier

Wednesday 16 December 2009 8:32:28 am

Hello,
I have created a module which checks a user answer. After this check, I would like the module to send the user back to the previous page with its result.

I have almost achieve it with "redirectionURI" method but the problem is that the parameters are sent through the URL.

How can I redirect my module with its result in post variable ?

$url = $Module->redirectionURI( 'content', 'view' , array($view_mode , $current_node_id) , null , $quizz_feedback);
$Module->redirectTo($url);

Developer at Open Wide

Gaetano Giunta

Wednesday 16 December 2009 3:15:53 pm

maybe you can save that data to session instead?

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Monday 25 January 2010 10:26:22 am

Hi Franck,

As Gaetano says, session might be the solution here, specially if you have large data to send back to the original page.
Did you manage to get this working in the end ?

Cheers

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.