RE: Killing a login

2007-10-12 Thread Robert Harrison
>>The login script checks for a session >> variable, or presence of the cookie. > The presence of the cookie should not be enough to be logged. > Keep the userId in the cookie for user code preset in the login form, > but use the session variable only to test for login done. Absolutely. Use a ses

Re: Killing a login

2007-10-12 Thread Claude Schneegans
>>The login script checks for a session variable, or presence of the cookie. The presence of the cookie should not be enough to be logged. Keep the userId in the cookie for user code preset in the login form, but use the session variable only to test for login done. -- _

Re: Killing a login

2007-10-12 Thread Qasim Rasheed
If you are on CFMX, you can use J2EE session which will expire on browser close. HTH On 10/12/07, Richard Colman <[EMAIL PROTECTED]> wrote: > > I am trying to provide a "logout" function on my site. I have tried > various combination like: > > value = "#session.cl

RE: Killing a login

2007-10-12 Thread Richard Colman
To: CF-Talk Subject: Re: Killing a login Richard Colman wrote: > I am trying to provide a "logout" function on my site. > Is there any way to kill a login without exiting the browser? How do you log u

RE: Killing a login

2007-10-12 Thread Robert Harrison
> But the login presists until the browser is closed. Yes it will persist until you check it again. First expire the cookie. Then process a command that checks the cookie and if it doesn't exists, kill your session variables and kick them out. You will need to add the routine (or include) to t

Re: Killing a login

2007-10-12 Thread Jochem van Dieten
Richard Colman wrote: > I am trying to provide a "logout" function on my site. > Is there any way to kill a login without exiting the browser? How do you log users in? Jochem ~| ColdFusion 8 - Build next generation apps today,

Killing a login

2007-10-12 Thread Richard Colman
I am trying to provide a "logout" function on my site. I have tried various combination like: But the login presists until the browser is closed. Is there any way to kill