Now the problem is next - a request is made to the login.php page, which sets cookies upon successful authorization and redirects to the work_surfer.php page. In the Chrome browser, the developer’s tools show the response headers (login.php page):
Code: Select all
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html; charset=utf-8
Date: Fri, 15 Mar 2019 11:11:42 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Location: /work_surfer.php
Pragma: no-cache
Set-Cookie: sess=0OqmaKkTuk0b; path=/; domain=ipgold.ru
Set-Cookie: login=igor666; expires=Mon, 14-Mar-2022 11:11:42 GMT; Max-Age=94608000; path=/; domain=ipgold.ru
Vary: Accept-Encoding
X-Powered-By: PHP/5.6.33
Code: Select all
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:close
Content-Encoding:gzip
Content-Length:20
Content-Type:text/html; charset=utf-8
Date:Fri, 15 Mar 2019 12:05:09 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
Location:/work_surfer.php
Pragma:no-cache
Server:Apache/2.2.22 (Unix) PHP/5.6.33
Vary:Accept-Encoding
X-Powered-By:PHP/5.6.33