Skip to main content
Known Participant
September 12, 2009
Question

Ending a session?

  • September 12, 2009
  • 3 replies
  • 1035 views

I want to have users logout.  How do I log them out.  I can't figure out what tag(s) to use.  Thanks, k

    This topic has been closed for replies.

    3 replies

    BKBK
    Community Expert
    Community Expert
    September 12, 2009

    Oh, and you should ideally let sessions end, rather than  attempt to end them. Use Application.cfc. It will help you manage login and sessions.

    BKBK
    Community Expert
    Community Expert
    September 12, 2009
    I want to have users logout.  How do I log them out.  I can't figure out what tag(s) to use.

    Log them in using cflogin and cfloginuser. Log them out by redirecting those who click on the logout button to a cfm page containing the tag <cflogout>

    Inspiring
    September 12, 2009

    Well it all kind of depends what you do to log them in in the first place.  What constitutes "logged in" in your application?

    --

    Adam