<?xml version="1.0"?><rss version="2.0"><channel><title>Comments on Better Sessions - ILoveJackDaniels.com</title><link>http://www.ilovejackdaniels.com/article/better-sessions/</link><description>Latest comments on Better Sessions on ILoveJackDaniels.com</description><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Leif Burrow ( &lt;a href="http://unforgettability.net"&gt;http://unforgettability.net&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;The proxy issue is definately a problem if you are running a comercial website where you can't just choose your users.  I used to run into problems with AOL and Yahoo DSL users a lot and it took me a while to figure out why. &lt;br /&gt;
&lt;br /&gt;
I've heard of some developers just verifying the first octet or two.  It's not as secure as verifying the whole ip but it's better than nothing and it usually takes care of the proxy problem. &lt;br /&gt;
&lt;br /&gt;
A more ambitious developer could attempt to identify the isp and adjust accordingly if it's known to use multiple proxies.  You could start by just checking for the big well known ones like AOL.  To find the rest record the ip-addresses anytime a session is dumped due to the ip changing. Then as users complain, you can use these records to discover the rest.  This would still inconvenience some users but if you take care of the big ones up front and keep on it they will probably be very much in the minority.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Bill Getas ( &lt;a href="http://ms.com"&gt;http://ms.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Not every solution is right for every person.  This could have applications in a smaller, more controlled, and more secure site.  From experience, 'IP hopping' by users in a shared pool is rather common.  Out of a site I run with 10,000 solid users, perhaps 500 use AOL (hey, they're a relatively bright bunch), so at any given look-see of online users, there's almost always one online whose IP changes with every click (fills up the logs!)  This is a good solution and addition to the site, but its scope is not for the general public.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Paul d'Aoust ( &lt;a href="http://www.heliosville.com"&gt;http://www.heliosville.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;If I'm not mistaken, this script doesn't tie a session ID to an IP address in the sense that each IP can only have one session ID -- it merely uses the IP as *part* of the session ID, so that it can always check whether the session user is still coming from the same IP. This would open the door for exploiters coming from behind the same gateway, but in cases like that the exploitee could walk down the hallway and punch the exploiter in the face.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Gavin ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Many ISP's proxy or use few public addresses, so most of their users will seem to have the same IP address. Creating a session from an IP address is a bad idea.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Thomas Rendleman ( &lt;a href="http://www.NationalCreditRebuilders.Com"&gt;http://www.NationalCreditRebuilders.Com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;It seems a viable option. The IP address I would tend to not do, however you can compare other information such as the browser etc. The odds in getting through all the different matches would be slim.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Steve ( &lt;a href="http://"&gt;http://&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Who cares about them.  AOL users sux.  Don't support their nonstandardized cr@p.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Zeeshan ( &lt;a href="http://None"&gt;http://None&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;What about Aol users. I heard their ip address constantly changes from webpage to webpage?</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by Laurent ( &lt;a href="http://"&gt;http://&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I tend to disagree. This is article does *not* explain how to have a better session, it show how to create a *broken* session. You can't rely on IP as statued by Petr.</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by J.H ( &lt;a href="msn.com"&gt;msn.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;isn't this better &amp; simple :&lt;br /&gt;$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];&lt;br /&gt;&lt;br /&gt;TO MAKE SURE OF THE SESSION :&lt;br /&gt;if($_SESSION['ip'] !== $_SERVER['REMOTE_ADDR'])&lt;br /&gt;{&lt;br /&gt;// GO OUT&lt;br /&gt;}</description></item><item><title>Comment on Better Sessions</title><link>http://www.ilovejackdaniels.com/article/better-sessions/comments/</link><guid>http://www.ilovejackdaniels.com/article/better-sessions/comments/</guid><description>Comment by phpaquilla ( &lt;a href="www.phpaquilla.net"&gt;www.phpaquilla.net&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Setup requires for session.autostart in the php.ini  file to be turned off.</description></item></channel></rss>