- Posts: 8
- Thank you received: 0
Who Is Online script question...
16 years 3 months ago - 11 years 3 weeks ago #922
by SBDSTech
Who Is Online script question... was created by SBDSTech
Hey What's up? Had a question about the 'Who Is Online' script... It seemed to be working ok when I first installed it, but when I last checked, it didn't seem to be clearing out the old IP addresses. I'll admit I haven't really looked into this that much, and most of what I'm thinking is based almost completely on the times I'm seeing in the table:
The config hasn't been changed from the default so the purge time is supposed to be 10 mins. Just wanna know if I'm over looking something that you may have dealt with already while develooping this script...
One final note, the last line from the table above with the IP in blue is my IP address and the time listed is 22:28:52. This is after I've just clicked through a few pages and the time now is 23:39, actually the server is in Dallas, TX so the server time is 01:39 on 05-29-2008.. dunno if that helps at all... I'm gonna look into it myself if I have the time... which is probably what I shoulda done rather than waste 10 minutes typing this post ...
Thank you for your time. Take care.
- Vito
info@sbdata.net
Code:
Full Texts id ip modified
Edit Delete 78 207.200.116.11 2008-05-29 01:04:06
Edit Delete 77 207.200.116.71 2008-05-29 01:03:57
Edit Delete 76 75.8.242.182 2008-05-29 00:17:56
Edit Delete 75 66.249.70.39 2008-05-28 23:32:01
Edit Delete 74 71.106.178.185 2008-05-28 22:37:15
Edit Delete 73 68.4.57.212 2008-05-28 22:28:52
Edit Delete 72 76.213.245.52 2008-05-28 22:23:51
The config hasn't been changed from the default so the purge time is supposed to be 10 mins. Just wanna know if I'm over looking something that you may have dealt with already while develooping this script...
One final note, the last line from the table above with the IP in blue is my IP address and the time listed is 22:28:52. This is after I've just clicked through a few pages and the time now is 23:39, actually the server is in Dallas, TX so the server time is 01:39 on 05-29-2008.. dunno if that helps at all... I'm gonna look into it myself if I have the time... which is probably what I shoulda done rather than waste 10 minutes typing this post ...
Thank you for your time. Take care.
- Vito
info@sbdata.net
Last edit: 11 years 3 weeks ago by Pete.
Please Log in or Create an account to join the conversation.
16 years 3 months ago - 11 years 3 weeks ago #923
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Who Is Online script question...
Hey Vito,
This is a problem that I only experienced on a few of my test servers (seems to depend don server setting somehow). Here is how I overcame this problem:
whoisonline.php
There is probably a better way to fix this though, so let me know if you do find a better way. As far as giving feedback to us, we love to hear from users. So please let us know when you do come across issues (even if you don't know the solution to it right away), because that's how the code gets improved, and being that it is open source that is basically the ultimate goal of any open source code (to keep improving and adding to it and make it bigger and better).
Thanks,
Pete
This is a problem that I only experienced on a few of my test servers (seems to depend don server setting somehow). Here is how I overcame this problem:
whoisonline.php
There is probably a better way to fix this though, so let me know if you do find a better way. As far as giving feedback to us, we love to hear from users. So please let us know when you do come across issues (even if you don't know the solution to it right away), because that's how the code gets improved, and being that it is open source that is basically the ultimate goal of any open source code (to keep improving and adding to it and make it bigger and better).
Thanks,
Pete
DigiOz Webmaster
www.digioz.com
Last edit: 11 years 3 weeks ago by Pete.
Please Log in or Create an account to join the conversation.
16 years 3 months ago #925
by SBDSTech
Replied by SBDSTech on topic Who Is Online script question...
So if I'm reading that correctly, you're basically just removing the if-then that checks the length of the session and having the script update every time it's called, right? Thanks for the help.
- Vito
- Vito
Please Log in or Create an account to join the conversation.
16 years 3 months ago #926
by SBDSTech
Replied by SBDSTech on topic Who Is Online script question...
I think that did it... Thanks again...
- Vito
- Vito
Please Log in or Create an account to join the conversation.
16 years 3 months ago #927
by Pete
Correct. I mean ideally I would have prefered that the purge only happen at specific intervals. But since session wasn't doing what I was hoping to do with it I am checking if purge is needed everytime the page is hit.
Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Who Is Online script question...
SBDSTech wrote: So if I'm reading that correctly, you're basically just removing the if-then that checks the length of the session and having the script update every time it's called, right? Thanks for the help.
- Vito
Correct. I mean ideally I would have prefered that the purge only happen at specific intervals. But since session wasn't doing what I was hoping to do with it I am checking if purge is needed everytime the page is hit.
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
16 years 3 months ago #937
by SBDSTech
Replied by SBDSTech on topic Who Is Online script question...
Just wanted to drop ya a line and let ya know for sure it works flawlessly now. If you'd care to have a look at how it's integrated into the page, have a look at
www.JayLenoStoleMyJoke.com
ps- I didn't really have room to credit you guys on the WhoIsOnline script as you'll see the bottom of the page was already crowded but I hope you'll be happy with the way I set up the guestbook credit and link to your site.. Hope it's all good with you guys, you saved me a lotta typing.
- Vito
ps- I didn't really have room to credit you guys on the WhoIsOnline script as you'll see the bottom of the page was already crowded but I hope you'll be happy with the way I set up the guestbook credit and link to your site.. Hope it's all good with you guys, you saved me a lotta typing.
- Vito
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds