Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6654329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:22:39+00:00 2026-05-26T01:22:39+00:00

I have a weird issue with a php redirect script that does the following:

  • 0

I have a weird issue with a php redirect script that does the following:

  1. Plant a cookie in the user’s browser, or read the existing cookie if there is one.
  2. Redirect the user to another url (the URL for redirect is a parameter in the original URL, e.g. http://my.redir.com?url=www.google.com).
  3. Log the redirect (time, user-agent, referrer, cookie).

Every once in a while (very rare, one in millions), I see a cookie that got corrupted in the log file.
All cookies have the format XXXX-XXXX, when the Xs are a-f or 0-9 (so a valid cookie can be 7bfab3-d8694). The corrupted cookies have the characters : or / replacing one of the characters or hyphens, e.g. 7bfa:3-d8694 or 7bfab3/d8694.

The question is, what can cause this?
Can it be a problem with my script or the server it is running on, or is it more likely to be a problem in the user’s browser?

— more info —

The corrupted cookies I have found had the user-agents:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Sky Broadband; GTB7.1; Sky Broadband; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Sky Broadband)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 Safari/533.19.4
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:22:40+00:00Added an answer on May 26, 2026 at 1:22 am

    All kinds of “scrapping” robots are badly written, full of bugs. I see similar behavior in my logs, e.g. poor (incorrect) HTML parsers following links incorrectly, “sanitizing” or URL-encoding and URL-decoding stuff in a wrong way, etc.

    All this while the “agent” string looks like regular browser. I was freaked by this once, until I noticed how several hundred different pages were hit in a matter of seconds. No chance this is a human being just surfing.

    So I suggest you try to see in your logs what else this IP/agent combination was visiting, and if this is a robot, stop worrying about it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a weird issue that only seems to be affecting IE 7. The
We have a semi-weird issue for our site. Consistently, from 1 anonymous* user the
I'm using Capistrano and have everything configured. The weird issue I have is that
I have a very weird issue. I have a UserControl that has some controls
Having a weird issue. I'm new to Macs and have a windows VM that
Im having a very weird issue. I have a normal ajax call that upload
I have a weird issue that only seems to show itself on IE 8
I have an weird issue, I am running the following SQL statement: SELECT *
I have a weird issue where my PHP files have lost their line breaks
I have a weird date rounding problem that hopefully someone can solve. My client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.