warriorwarren Posted October 16, 2007 Share Posted October 16, 2007 Hi, Im struggling to understand when the who's online actually releases the IP of a customer that has moved away from my site. What I mean by this is that if I open a web brower and navigate to my site, the whos online shows me as present with all the correct details. I then move away from the website and go somewhere else. What happens then is that the time I last clicked remains constant, my time online increases and it remains like that until I actually drop my internet connection. I have also seen this with a few customers, they seem to be on the same page for 10-15 mins with no clicks. Is this just how long it takes to update or what? Link to comment Share on other sites More sharing options...
♥toyicebear Posted October 16, 2007 Share Posted October 16, 2007 Hi, Im struggling to understand when the who's online actually releases the IP of a customer that has moved away from my site. What I mean by this is that if I open a web brower and navigate to my site, the whos online shows me as present with all the correct details. I then move away from the website and go somewhere else. What happens then is that the time I last clicked remains constant, my time online increases and it remains like that until I actually drop my internet connection. I have also seen this with a few customers, they seem to be on the same page for 10-15 mins with no clicks. Is this just how long it takes to update or what? It just records the timestamp for the last page visited and when a defined time periode is reached it purges all records older than that time periode. Ie if the time periode is set to 15 min, the last click will show for 15 mins after the last click was actually done and then be erased.... Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
warriorwarren Posted October 16, 2007 Author Share Posted October 16, 2007 It just records the timestamp for the last page visited and when a defined time periode is reached it purges all records older than that time periode. Ie if the time periode is set to 15 min, the last click will show for 15 mins after the last click was actually done and then be erased.... thanx very much for the reply, answers my questions completly. One more, where do I change the 15mins interval? Link to comment Share on other sites More sharing options...
warriorwarren Posted October 17, 2007 Author Share Posted October 17, 2007 I found the solution if anyone is interested, In admin/who's_online.php locate the code /* $Id: whos_online.php,v 1.32 2003/06/29 22:50:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ $xx_mins_ago = (time() - 900); The value of 900 represents 15 mins, so I changed this to 60 which makes it 1 min. Link to comment Share on other sites More sharing options...
www.go3d.us Posted November 4, 2007 Share Posted November 4, 2007 Cool, Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.