Really odd! Jared, I'm not using onSessionStart, neither onSessionEnd. The Application.cfc only contains the application variables (this.name, etc) and onRequestStart method, which includes the cflogin block. Should I use onSessionEnd? When the browser close, both login and sessions are ended anyway.
I did some test, setting output=yes on onRequestStart, and tracing weather block of code is beeing executed or not. When the problem occurs, the user doesn't enter the cflogin block as it should, which is weird, since he isn't logged in. If he was logged, the login form won't display: the user will enter the system directly. Anyway, just a thought: the problem seems to be with cflogin, since when the user tries to login again, he doesn't enter the cflogin block. This is way session variables aren't beeing setted. This is fine. But, why ain't enterting the cflogin block? As I said - and you suggested - in the login form, and also before logging in, I loged out (cflogout), cleaned session (and cookies too) variables to ensure the user isn't logged in in anyway. Didn't worked out. Thanks, -- Fabio Terracini Jared Rypka-Hauer - CMG, LLC wrote: >Ooops, missed a part of the message from Fabio... yeah, it's a bit odd. > >Fabio, are you using onSessionStart and onSessionEnd events to control your >sessions? Really, what you should be doing is using onSessionEnd to clean up >your session when it times out instead of detecting problems later and >trying to work around them. > >Laterz, >J > >On 5/4/05, James Holmes <[EMAIL PROTECTED]> wrote: > > >>You might have to post the contents of the cflogin block, as this is very >>weird. >> >> >> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205556 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54