> How do I see how many users are conected to my page? After a user
> is authenticated via password using session variables, I need to
> know how many are conected so I can set a maximum number of
> simultaneous conections. And how will I know when a user leaves?

You could count users by incrementing an application variable when they
start a session, but you can't really know when a user leaves - you can only
know when they've waited long enough between requests that their session has
timed out. You could use JavaScript to handle the event that occurs when
they leave a page, and have your JavaScript routine attempt to communicate
this back to the server, but that's about the extent of your control.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to