Sponsored Content
Top Forums Web Development How do I verify my web visitor is still online Post 302277009 by otheus on Thursday 15th of January 2009 06:05:43 AM
Old 01-15-2009
In your database, do you track the most-recently-used IP address for the user? That would help. Then your cron script queries the database for a logged-in users, gets the IPs, and then loops through each IP with some utility to check if the IP is still there.

The problem with the last step is what to do if that IP is behind a firewall.

In my opinion, you are better off having an "expiry" time for server-side cache objects. So every time the user interacts with the web server, a most-recently-used timestamp is updated for that user. The cron job periodically sweeps through this table, removing entries older than, say, an hour.
 

We Also Found This Discussion For You

1. Post Here to Contact Site Administrators and Moderators

Suggestion: visitor graphs

Perhaps we could think of visitor graphs that would give a sense of both the popularity of the forum and - more importantly - the popularity of Linux and the Open Source operating systems movement. Something similar to what sourceforge has done for their projects: SourceForge.net: Project... (2 Replies)
Discussion started by: figaro
2 Replies
answerbook2_admin(1M)					  System Administration Commands				     answerbook2_admin(1M)

NAME
answerbook2_admin - bring up AnswerBook2 administration tool GUI SYNOPSIS
/usr/dt/bin/answerbook2_admin [-h] DESCRIPTION
The AnswerBook2 server product is no longer included with Solaris or the Solaris Documentation CD products. Solaris docmentation is now provided in HTML and PDF format on the Documentation CD and does not require the Answerbook2 server to be viewed. answerbook2_admin brings up the default web browser showing the administration interface for the local AnswerBook2 server. The administration functionality is also accessible through the AnswerBook2 Admin option within the System_Admin subset of the Application Manager function on the CDE front panel Applications menu. If you need an AnswerBook2 server, you can download the AnswerBook2 server software from http://www.sun.com. OPTIONS
The following option is supported: -h Displays a usage statement. USAGE
At startup time, answerbook2_admin starts up the default web browser (for example, Mozilla) and displays the URL specified for administer- ing the local AnswerBook2 server (http://localhost:8888). If the user has set up administration access control, the web browser prompts for a valid administrator login and password for this document server before displaying the administration tool. FILES
/usr/lib/ab2/dweb/data/config/admin_passwd File containing username:password ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |http://www.sun.com | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) NOTES
Once there is an open web browser and access to the AnswerBook2 Administration tool, use its online Help system to find out more about administering the AnswerBook2 server. SunOS 5.10 29 Oct 2004 answerbook2_admin(1M)
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy