I know this will probably sound really silly, but I need help designing a "Log Out" feature on my website...

Questions:
1.) What should a Log Out do exactly?

Log you out in the background?

Prompt you?

Redirect you?


2.) How exactly do you Log-Out a user?

session_destroy() ??

$_SESSION['loggedIn'] = FALSE;

unset($_SESSION['loggedIn']);

other??

-------

My Log-In system currently relies entirely on Sessions, so other than a "Session Cookie", I am not using Cookies to log people in and out. Nor am I using a database for this.

Sincerely,


Debbie