Writing a cookie causes the browser to question the server

Source: Internet
Author: User
Write cookie causes browser not to ask the server
Browser-side Refresh request a PHP page (this page will be re-written once a cookie), refresh to a certain extent (about 10-20 times) will not be able to access the server, to clear the cookie to re-access

The request headers when you cannot access it is as follows:
GET http://XXX/test.php http/1.1
accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cache-control:max-age=0
user-agent:mozilla/5.0 (Windows NT 5.1) applewebkit/537.36 (khtml, like Gecko) chrome/28.0.1500.72 safari/537.36

When the access is not available, the request is not sent out, as if it is very hard to read the local cookie, is not read the same.
Cookies Server

Share to:


------Solution--------------------
There should be a limit on the server side
------Solution--------------------
Cookie validation Issues
Restricted page Verification cookie is a problem, so jump to landing page
Login page to determine if a cookie exists and jumps to a restricted page

After the browser receives the jump instruction continuously, thinks the server has the problem to no longer connect

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.