Counting active sessions

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
HaVoC
Forum Commoner
Posts: 83
Joined: Sat Feb 07, 2004 7:20 am
Location: Smiths Falls, CA

Counting active sessions

Post by HaVoC »

Is there a command where I can count how many sessions there are? Or should I just +1 in a database for every user logged in.
User avatar
lazy_yogi
Forum Contributor
Posts: 243
Joined: Fri Jan 24, 2003 3:27 am

Post by lazy_yogi »

You can make ur session secure by using this method.

http://www.zend.com/zend/spotlight/code ... -wade8.php

It stored the info in the db, and you can get the number of active session with a simple query then
Post Reply