You shouldn't have an issue with this.

Their browser should keep the cookie related to their server session and
remember that they're logged in. If the session expires before they reopen
their browser, then they'll get redirected to the login screen anyway.

andy 

-----Original Message-----
From: Paul Henderson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 11:11 AM
To: CF-Talk
Subject: How to Prevent Simultaneous Login / Session Management

I know I can prevent any simultaneous logins by simply flagging the account
as "logged in" when a user logins. However, if the user closes the browser
or is disconnected without properly logging out, how would I go about
allowing them to log back in? Since as far as I know, the server and
database would therefore have no way of knowing the user disconnected and
would still see the user as logged in. I thought OnSessionEnd would do the
trick, but as was pointed out to me on this list OnSessionEnd only runs when
the session expires, not when the user disconnects. Any ideas are much
appreciated, thanks.

 

 

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281802
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to