how to display a message after logout (session deleted)

Why not just nullify the proper session variables instead of emptying out the whole thing?

RSL

you can simple type reset_session and all will be reseted as first time user was entered to site.