Here, I am using a cookie and a session when the user login. The code works well when I am directly logging in and logging out. but if the user turns off the pc and again come b