i guess you could use flash messages for this.

stav wrote:
After I do a database update action, for example, I can:

        $this->view->info_msg = 'Profile updated.';
        $this->_forward('index');

and in layout.phtml I can:

        <?php echo $this->info_msg;  ?>

and it shows up, but I wan to use _redirect() instead so they can't refresh
and double-post; but, if I do that my view is destroyed and replaced with a
new one.  Do I have to resort to pushing/popping info messages into the
Registry?


--

- -

*freshheads* grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg | Nederland
tel. +31 (0)13 5448761 | fax. +31 (0)13 5448762
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> | www.freshheads.com <http://www.freshheads.com>

Laatste berichten op het Freshheads blog:
Eindelijk, stage @ Freshheads! <http://blog.freshheads.com/2008/09/eindelijk-stage-freshheads/> ?Hé, dit is toch beter dan we dachten? <http://blog.freshheads.com/2008/09/he-dit-is-toch-beter-dan-we-dachten/> Omroepen kondigen plannen aan tijdens Immovator ZomerCafé <http://blog.freshheads.com/2008/09/omroepen-kondigen-plannen-aan-tijdens-immovator-zomercafe/>

Reply via email to