Friday 09 June 2006 12:43:06 pm
If I login as user1 then login as user2. The login/logout verbiage from the toolbar says I am now user2. But in the body of the page it identifies me as user1. In the body template, I have this code:
{def $user=fetch( 'user', 'current_user' )}
User: {$user.contentobject.name} <br />
If I clear the cache, then the body shows the correct user2. It appears the session is always pulling from the previous logged in user rather than "current". It also appears that current_user in pagelayout is always correct. Is this a bug? version: 3.7.2 on mysql
|