I noticed that after logging in to my yii application I get correctly redirected to my home page, but its appereance is the same of what guest users see before logging in (ie. the “login” link at top right is there). However if I refresh the page by pressing f5 everything is displayed correctly and the “bug” doesn’t return anytime until next login.
Has this happened to anyone before? Any code I can add to help your thoughts about it? It’s a minor bug but still…
I cross checked components/UserIdentity.php and WebUser.php with my development site. Both are similar.
I have not tried creating a new application with same code.
Will changing the redirect in htaccess affects this ? Because its not logging out when I click the other links in the navigation. It logs out only when I click the home link.