Hi

Does anybody on the list know how I can implement a feature on my Intranet site thats 
shows how many users are currently logged.

I.E. There are currently 5 users on the site.

Any ideas on how to implement this ? This is what I have at the moment ......

The user enters their username/password to log into the Intranet - this checks against 
the database below

 
<CFQUERY DATASOURCE="#Application.DSN#" NAME="entry">

SELECT *

FROM usersetup

WHERE Username = '#form.Username#' AND Password = '#form.Password#'

</CFQUERY>

 

If correct session variables are created and you enter the homepage.

 

<CFSET Session.Password = "#Security.Password#">

<CFSET Session.Username = "#Security.username#">

<CFSET Session.forename = "#Security.foreName#">

<CFSET Session.surname = "#Security.surName#">



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to