Jump to content

Getting a passing URL


_giles_

Recommended Posts

I don't need it for security, but I was thinking about it as a way of segregating paying from free visitors - (e.g. if visitor comes from a site that's signed up to our full service ...admit to full service, IfElse ... pass onto free pages) ... would that work?

 

 

Link to comment
Share on other sites

OK here's the thing ...

 

I'm working on a site that will service users coming from a number or regular clients, and some just browsing. The subscription clients have too many users to issue passwords or login's, so the easiest thing right now would be to log them by URL. session_start() and security will occur after that.

 

So I simply need this ... where did you come from stage ... is $_SERVER["HTTP_REFERER"] stable enough to give me that?

Link to comment
Share on other sites

I would say its really not that stable at all. Firefox can be configured to not send http_referer information, and ive also known some firewalls preventing it from being sent. I investigated using it when i was making a text based game as a means of preventing people sending malicous data from other sources; but it really wasn't a good idea. You will find that legitimate users will suffer.

Link to comment
Share on other sites

OK ... so maybe ask the visitor to fill in a password displayed on the referring page. that way it's easy for them, that way I get to know of their referred or browsing?

 

Eitherway thanks for shouting me back - I'm wiser and better for it - appreciate you spending the time  ;)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.