1
domineaux
Users are held in who's online block long after they're gone
  • 2004/9/1 22:44

  • domineaux

  • Quite a regular

  • Posts: 389

  • Since: 2002/9/29


I've got indications continually of users that are online, but as a rule the majority shown are long gone.

Is there a way to drop them quickly or maybe with a timeout or something when they've gone.

I know they're supposed to logout, but that isn't the case.

I don't think they're too concerned about whether I think they should logout or not. Sure I know it looks like I've got a bunch of users lurking around the site, but to be honest... I just as soon know the true number

2
Booga
Re: Users are held in who's online block long after they're gone
  • 2004/9/2 2:24

  • Booga

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/11/29


Hi, look for
Quote:
// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
define('XOOPS_DB_PCONNECT', 1);

in your mainfile.php file. If you have a "1" in the ('XOOPS_DB_PCONNECT', 1) then try changing it to a "0". Then update system module.

If you already have a "0" then i'm not sure how you can fix it otherwise.

Let me know how you go.

Booga.

3
domineaux
Re: Users are held in who's online block long after they're gone
  • 2004/9/4 12:03

  • domineaux

  • Quite a regular

  • Posts: 389

  • Since: 2002/9/29


Yep...mines got a Zero
Quote:
// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
define('XOOPS_DB_PCONNECT', 0);

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');\





4
Booga
Re: Users are held in who's online block long after they're gone
  • 2004/9/6 10:06

  • Booga

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/11/29


hhhmmm........sorry domineaux, thats the only thing I can think of.

5
Bender
Re: Users are held in who's online block long after they're gone
  • 2004/9/6 11:00

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


If you use the search you should come up with some threads regarding this behavior. Basicly you can reach a better (not perfect)accuracy at the cost of more database queries.

So if it is a small site you might use that way.


Also this might help:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=14398&forum=21&post_id=58574#forumpost58574

Login

Who's Online

349 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 349


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits