Advertisement

10.03.2007 at 09:56AM PDT, ID: 22869824
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Check if a coldfusion session still exist

Asked by Bradino in ColdFusion Studio, ColdFusion Application Server, Cold Fusion Markup Language

Tags: , , ,

Dear Experts,

Im want to properly display a list of member usernames currently online. The way that Im currently doing does not seem to work. Im using Coldfusion session to do this, here is my MSSQL database structure.

USERS TABLE:
Id (int- auto increment)
Username (varchar 20)
Password (varchar 15)
Online_status (tinyint default 0)
Session_id (varchar(50)
Session_time (smalldattime)

<CFAPPLICATION NAME="activeUser"
CLIENTMANAGEMENT="YES"
SESSIONMANAGEMENT="YES" SESSIONTIMEOUT="#CreateTimeSpan(0,0,5,0)#">

1.      when user successfully logs in:
a.      update the online_status to 1
b.      update the session_id with CFID
c.      update the session_time with timeformat(now())

When the members actually click on the logout button I simply:
2.      update online_status to 0

Now the problem is that when member DONT log out or idle for hours. Ive tried several way but had no luck, I cant seem to figure this out.

What I tried was to loop through the user table with this query below and see if there session_id still exist. But the syntax that I used was incorrect.

Select *
From users
Where online_status = 1

HELP please! Thank you in advance for your help.
Start Free Trial
[+][-]10.03.2007 at 11:08AM PDT, ID: 20008724

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 11:17AM PDT, ID: 20008789

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 11:34AM PDT, ID: 20008905

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 01:02PM PDT, ID: 20009588

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 01:02PM PDT, ID: 20009589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 01:43PM PDT, ID: 20009895

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 01:59PM PDT, ID: 20010014

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 02:24PM PDT, ID: 20010189

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Studio, ColdFusion Application Server, Cold Fusion Markup Language
Tags: coldfusion, session, check, exist
Sign Up Now!
Solution Provided By: rob_lorentz
Participating Experts: 1
Solution Grade: B
 
 
[+][-]10.03.2007 at 02:59PM PDT, ID: 20010387

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2007 at 03:47PM PDT, ID: 20010654

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628