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?
Ошибка- u_mulder