Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

What is a "logged in user" on the "Active Sessions" report in CF8 Server Monitor?

New Here ,
May 26, 2009 May 26, 2009

I was looking at the Active Sessions Report (The Chart View) and saw I have more "logged in users" than "active sessions".

I had expected them to be nearly the same.    It's on our Intranet where I log users in (using cflogin and cfloginuser) at the begining of their session and users should be logged when the session ends.

I couldn't find a detailed explaination of what a "logged in user" means.   There is a chance that the same user is logged into a nested application as well as the Intranet, but I don't think that is what I'm seeing.

I also don't see a way to get a list of what CF is counting as a logged in user.  I can only see a way to get the total count.

Any help is appreciated. 

Thanks,

Jeff

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 26, 2009 May 26, 2009

If a user opens a session, and closes his browser the session will still be alive for as long time as you set the timeout in your code or the maximum timeout set in the CF Administrator, so that's probably what's happening in your case.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2009 May 27, 2009

Thank you Michael for the reply, but I don't think that is the issue.

When a user opens their browser on the intranet, a session begins and they are logged in (using the cflogin and cfloginuser).    If they close their browser, the session should hang around for 20 min. (per the server setting).   I am assuming this is still considered an "Active Session" since I can see this behavior in the report.

At first, the Active Sessions and Logged In Users are exactly the same.   When the sessions start to time out, the active sessions are reduced,  but the Logged In Users remain the same.    Then,  after a while, they start to move together.  So I have more Logged In Users than Active Sessions.

I left the Server Monitor open last night and for most of the night, I had 0 sessions, but 57  "logged in users".   This morning, as people opened their browsers, the Active Sessions and Logged In Users moved together.   The gap of 57 looks consistent.

It looks like people are remaining logged in after their session ended.

I am really looking for a detailed explaination of "active session" and/or "logged in user" as used in the server monitor.  It would be really nice to find a way to list the details about each item counted in the "logged in user" and not just the total count. 

Thanks Again for your reply.

jsm

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2009 May 28, 2009
LATEST

Turned out to be my application settings in the Application.cfc

I basically had mistakenly duplicated the settings like this:

<cfset THIS.setDomainCookies = "yes" />

<cfset THIS.SetClientCookies = "yes" />

<cfset THIS.setDomainCookies = "no" />

<cfset THIS.SetClientCookies = "no" />

I can replicate this on a test machine so I am confident that this is the issue.  All I wanted was:

<cfset THIS.setDomainCookies = "no" />

<cfset THIS.SetClientCookies = "no" />

NOTE:  I was also had NT authentication turned on on the webserver.  This might be part of the issue...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources