Hi,

I want to be able to recognize a registered user when he/she is interacting
with the site.  The common approach would be store 'something' as a cookie
with a far future expires.  For security I can't actually trust the info for
any serious purpose (other than hello User or logging) so when the user
tries to enter a restricted area I will ask for the login/password and store
a token in Zend_Session.

Questions:
a) is there a better way to do that?
b) assuming it is ok can I use Zend_Session to handle both? (the cookie and
the session itself)?

Thanks.

Reply via email to