Forum Moderators: open
uses the IP as a session variable so if a user's IP changes then the session is dropped
If I can just threadjack for a moment: this is a pretty standard technique to avoid accidental or deliberate session highjacking and is especially useful when the session ID is held in the URL where it can easily be changed by the user. I've used ths approach myself after reading about it on PHP fora.
So a couple of questions:
[edited by: tedster at 7:13 pm (utc) on Feb. 17, 2004]
How often does AOL rotate the IPs?
Does it force users to disconnect or does it happen in the background?
What other approaches can we use instead?
Very annoying, but i'm sure it is done for good reason!?
I don't know how this works with other services running on AOL such as MSN messenger, Netmeeting, streaming media, etc.
I know it causes very inaccurate web site stats. 1 AOL user on for 10 mins shows as 1 user, but if the IP rotates, lets say, every 15 mins then if they are on for 1 hour then it shows up as 5 users.
IP addresses can be spoofed after all.
True - but so can cookies can't they? I reckon its a lot harder for me to spoof someones IP address than it is for me to either create my own cookie (which is just a text file after all) or to copy a cookie from their PC onto mine (easy enough in a networked office environment).
browser session cookies with encrypted session info
Sound a bit more like it - but surely they can be copied too?
(Though I think many browsers don't create files for 'session only' cookies).
However none of this deals with the case where the user disallows cookies (which is all too common unfortunately).
Still looking for a better solution...