| Monday 29 May 2006 12:27:51 pm 
                                                                 Hi,  This post is not bound with my previous question above. 
I have a login trouble with my two siteaccess.I have three users for my_plain siteaccess: A, B and C
 Once I'm logged in with user A, I can see: "welcome user A".
 I log out and then log in with user B. But I see again: "welcome user A" and I have to display a new page (say page_1) to see: "welcome user B".
 If I log out and log in with user C, I see: "welcome user A" and if I display "page_1" I see "welcome user B".
 It seems the displayed pages are in the cache. I added the code to display the user names in pagelayout.tpl: 
{def $user=fetch( 'user', 'current_user' )}
{if $user.is_logged_in}
{$user.contentobject.name}
{/if}
{undef $user}
and I added in my "my_plain" site.ini.append.php: 
 43 [FileSettings]
 44 VarDir=var/my_plain
 45 StorageDir=storage
 46 CacheDir=cache
 47 LogDir=log
 Pascal Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
                                                                 |