Login Problem

Scenario: After I logging in and then went to a page,

      I press the back button of the browser and it display the login again even im already logged in.

Can someone tell me how to disable the login when i am logged on.

Thanks…

dude you playing with browser back button …keep this thing in mind…

Check for if(Yii::app()->user->isGuest) in login action of site controller,if it will not login than this condition will be satisfied,render to login page when condition satisfied.In else part send to your home page.So,even if you press back button of browser,it will send to your home page.