Jump to content

Recommended Posts

 

 

I'm sorry, but that is less reliable than what I have been doing.

 

What happens when you have 10 users all with the same IP addy?

 

Or when you have someone like me who uses public free wi-fi sites?

 

I came up with a better work-flow last night an will post question today of how to implement it.

 

Thanks,

 

 

 

Debbie

 

I know most sites allow only 2 IPs at most per house hold/ip address for security reasons, most of the time just 1, and this can be handled in PHP. 10 or more I wouldn't even let my site be accessed by those people for security reasons. You can keep sessions alive by storing them in a database, this way you can redirect the user / guest ALL you want to the previous page.

 

My other methods I suggested were just possibilities available, atleast you should know them.

I know most sites allow only 2 IPs at most per house hold/ip address for security reasons, most of the time just 1, and this can be handled in PHP. 10 or more I wouldn't even let my site be accessed by those people for security reasons. You can keep sessions alive by storing them in a database, this way you can redirect the user / guest ALL you want to the previous page.

 

My other methods I suggested were just possibilities available, atleast you should know them.

 

Anyone accessing your website from a corporate location or free wi-fi spot or library or AOL would all share the same IP.  That could be dozens or hundreds of people.

 

It is fairly common relying on IP to identify a user and associate a page to would likely be very unreliable.

 

 

Debbie

 

 

I wrote a class awhile back handling multiple IP addresses, i gave each new incoming IP address with one identical to another a new ID to handle the user by... I will find it and provide an example. In my opinion you have to do things yourself sometimes, build your own libraries, functions, and codes that work specifically for your needs. I would still never let 2 ip addresses conflict on my site, PHP would need to resolve the issue.

 

 

and I understand what you are getting at, which is why I suggested saving the sessions for this approach.

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.