0

Does anyone know how to destroy the Zfcuser session variable?

If certain events occur I would like to end the session?

I checked the wiki and the only discussion is about setting automatic timeout. I would like to destroy the session manually.

edigu
  • 9,878
  • 5
  • 57
  • 80
Greg.Forbes
  • 2,634
  • 4
  • 26
  • 29

1 Answers1

-1

If you are going for a general logout function session_destroy(); should suffice, otherwise just use unset($_SESSION['zfcuser']);

Rob M.
  • 35,491
  • 6
  • 51
  • 50