timeout login form

I have the sidebar with displaying one form , it will appears for 1 to 2 hours after that the login form will displayed on that place

Thanks in advance

Cool.

What is your question vinay? You want to auto logout user after some time?

Thank u for your valuable reply

now i am getting logged out after some time , but i dont want to logout

So maybe your session expires? Check this out: http://www.yiiframew…er#login-detail

Try turning allowAutoLogin on and setting session duration according to link above.