I am seeing a strange behavior using zend session. Here is what I have in my
bootstrap:

require( 'Zend/Session.php' );
Zend_Session::start();

On the login page, I am storing user-id in session (my own implementation,
not using zend-auth):

$_SESSION[ 'auth' ][ 'user' ] = $id;

I can print_r the session on the login page and see the value is assigned.
On surfing to another page, I see the value assigned to session->auth->user
above is gone and the page is getting redirected to the login page again.
What am i doing worng?

Thanks,

matt

Reply via email to