Do avtovyhod on the site. User login, after 15 minutes Cookies are deleted. I do through functions.

But during authorization, there is no authorization from the first time, only “cookie” is written. The second time we enter the login / password - log in. Autoplay, like, works.

Code such: authorization ...

AutoLogout(); Header("Location: /account"); 

Why is not logged in the first time? Maybe there are other ways to implement avtovyhod?

  • This error - Ошибка - u_mulder
  • Problem in the entrance or exit? Show your code. - Marsel Arduanov
  • Please write in more detail, did not understand. Cook time 15 minutes? What does avtovyhod mean? "Since the first time there is no authorization," is it like? - jekaby
  • The question is closed. You can archive !!! - WEBOG

0