User Queue / Verifying Session Status
Posted on 2004-08-11
My ultimate goal is to build a user queue in CF. I want to allow a certain number of users into a restricted area at a time. The others will be placed in a queue, informing them they are #n out of m in line, and perhaps eventually try to estimate a wait time.
I have ideas on how to do this, but I need to run a cleanup procedure that removes people who have closed their browsers from the queue. If I store CFIDs and CFTokens into a structure, can I have a backend routine check to see if these sessions are still active, and remove them from the queue if they have expired?