so basically when we use zend auth we can call function $auth->getIdentity() to get the identity of the currently logged in user....the thing is...it would return the value that was set from setIdentity() function during authentication which usually is something like username or user id....my question is.....is it possible to store multiple variables for identity for instance store both username AND user id, so that I can retrieve either one of those to display to the user and/or to pass to other script
thanks in advance!
There is no spoon
-The matrix