Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Ending a session?

New Here ,
Sep 11, 2009 Sep 11, 2009

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

969
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 11, 2009 Sep 11, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2009 Sep 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>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2009 Sep 12, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources