Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Lucas Corbeaux
It wouldn't be so hard to implement if you really want to... Something like this would feat both for internal forwarding and redirection: protected $_internalParamsStorage = null; protected function setInternalParam($name, $value) { if (null === $this->_internalParamsStorage= { $this->

Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Ben Scholzen 'DASPRiD'
-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. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \

Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Alex
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' > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Disable the default route, a

Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

[fw-general] Securely passing params between actions

2009-02-19 Thread Alex
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)