-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well if it's all about forwarding internally, without redirect, simply store the internal values withing e.g. Zend_Registry. ................................... : ___ _ ___ ___ ___ _ ___ : : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : :........:........................: : Web : http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ : 105677955 : :........:........................:
Alex schrieb: > Any other solution? > > How about something like $this->_setInternalParam() and > $this->_getInternalParam() > > Would that be hard to implement? > > > > On Thu, Feb 19, 2009 at 12:07 PM, Ben Scholzen 'DASPRiD' > <m...@dasprids.de <mailto:m...@dasprids.de>> wrote: > > Disable the default route, and only use custom routes. > ................................... > : ___ _ ___ ___ ___ _ ___ : > : | \ /_\ / __| _ \ _ (_) \ : > : | |) / _ \\__ \ _/ / | |) | : > : |___/_/:\_\___/_| |_|_\_|___/ : > :........:........................: > : Web : http://www.dasprids.de : > : E-mail : m...@dasprids.de <mailto:m...@dasprids.de> : > : Jabber : jab...@dasprids.de <mailto:jab...@dasprids.de> : > : ICQ : 105677955 : > :........:........................: > > > Alex schrieb: >> Hi Ben, > >> Well, $this->_setParam() almost suits me perfectly. Here's the > problem. > >> Action1: >> _setParam('secret', 'somevalue') >> _forward('action2) > >> Action2: >> _getParam('secret') > >> But how do I make it so that 'secret' cannot be a usersupplied > parameter? > >> - Alex > > >> On Thu, Feb 19, 2009 at 10:02 AM, Ben Scholzen 'DASPRiD' >> <m...@dasprids.de <mailto:m...@dasprids.de> > <mailto:m...@dasprids.de <mailto:m...@dasprids.de>>> wrote: > >> That really depends. The easiest thing would be to store the > value in a >> session, and if required give the user an hashed identifier as > parameter >> to identify the data. If the data should be long-term > persistent or for >> multiple users, store the data in a database. >> ................................... >> : ___ _ ___ ___ ___ _ ___ : >> : | \ /_\ / __| _ \ _ (_) \ : >> : | |) / _ \\__ \ _/ / | |) | : >> : |___/_/:\_\___/_| |_|_\_|___/ : >> :........:........................: >> : Web : http://www.dasprids.de : >> : E-mail : m...@dasprids.de <mailto:m...@dasprids.de> > <mailto:m...@dasprids.de <mailto:m...@dasprids.de>> : >> : Jabber : jab...@dasprids.de <mailto:jab...@dasprids.de> > <mailto:jab...@dasprids.de <mailto:jab...@dasprids.de>> : >> : ICQ : 105677955 : >> :........:........................: > > >> Alex schrieb: >>> How can I pass a parameter between two actions, but making it > so the >>> second action cannot receive said parameter directly from the > user? > >>> - alex (from iphone) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmduA8ACgkQ0HfT5Ws789C0lwCeOvBM9mC04ibMoa6u9NzclPq7 nb0An2ejRWFpnGpm9G5jvC09aYIYXToZ =/scH -----END PGP SIGNATURE-----