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

  • SEARCH
  • Home
  • 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 7692343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:49:54+00:00 2026-05-31T20:49:54+00:00

$_SERVER[‘HTTP_REFERER’] seems to be full of holes. Tracking through the url will not be

  • 0

$_SERVER['HTTP_REFERER'] seems to be full of holes.

Tracking through the url will not be possible for this particular application.

I have a 301 Redirect to take into account also.

I will check $_SERVER['HTTP_REFERER'], but what is a good second method to check what page on my site the user came from?

Is it as simple as setting up a session variable? I am looking for specific examples that will help augment $_SERVER['HTTP_REFERER'].

  • 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-31T20:49:55+00:00Added an answer on May 31, 2026 at 8:49 pm

    If $_SERVER['HTTP_REFERER'] is not sufficient, you can keep track of each script as you visit it with a $_SESSION variable, or set cookies on each page. I’d go with the session – you can track scripts on the backend that the browser may not know about and it’ll work even if the user has cookies disabled. You could even keep a whole array of executed scripts, adding on the latest as the execution path makes it’s way through your scripts. You’d be able to trace the path from arrival to current script.

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

Sidebar

Related Questions

Server shutdown from power failure. Mysql will not start now. Disk is not full.
SQL Server 2008. Is it possible to create Change Data Capture (or Change Tracking)
Server side validation works great but client side will not work on some fields.
This server support version 662 and ealier. A downgrade path is not supported.. I
RewriteCond %{SERVER_PORT} !^443$ RewriteRule MATCHME https://%{SERVER_NAME}%{REQUEST_URI} [L,R] IF MATCHME is not in the URL
Server 1 is connected to Server 2 via SSH. We know this: I can
Server controls like Image.ImageUrl make this very easy, but trying to achieve the same
server: apache http server 2.2 problem: code does not load my text file hello
Rabbitmq server does not start, saying it's already running: $: rabbitmq-server Activating RabbitMQ plugins
My server is somehow configured to accept any string as a existing subdomian. This

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.