Naw, if I meant it like that I'd be all like, "[lmgtfy] FOAD!" vs. "[lmgtfy] HAND!". :)
I'm down with Bentley, yo! So there! =) :Den -- Freedom is a system based on courage. Charles Peguy On Sat, Nov 6, 2010 at 6:32 AM, Michael Grant wrote: > > OT: > lmgtfy.com = "what did the five fingers say to the face?" > > > On Sat, Nov 6, 2010 at 12:42 AM, denstar wrote: > >> >> On Fri, Nov 5, 2010 at 5:26 PM, Tony Bentley wrote: >> > >> > So I have an app that uses cflogin, which works great if the user logs in >> and out from the same browser. Now here is where I am stumped: >> > >> > -User logs in, then closes the browser >> > -System does not allow the same user to be logged in more than once >> > -System logs all logged in users >> > -System removes user from log onSessionEnd() >> > >> > How can I remove the user from the log when they close the browser? >> >> I think the best you can do is invalidate their previous session when >> they try to log in again. >> >> So they can still only be logged in once, but it's the current session >> that is the "master", and the old session is discarded/invalidated. >> >> Due to the nature of sessions, this is the best you can do. A thread >> on Ben's blog goes into a lot of depth about it. >> >> Probably the first hit on google: >> >> >> http://www.lmgtfy.com/?q=expiring+cookies+when+browser+closes+coldfusion&l=1 >> >> (enable javascript to see the nifty typing action) >> >> :) >> >> :Den >> >> -- >> A word is not the same with one writer as with another. One tears it >> from his guts. The other pulls it out of his overcoat pocket. >> Charles Peguy >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338909 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

