In the cookie or session you probably store some values that indicate the user has logged on successfully, maybe the username and a boolean value.
When they logout you set the boolean to false. If you are using sessions to maintain state between pages you would use:
Which would clear the session values thus effectively "logging out" the user.
The details really depend on how you are maintaining state in the first place.
Please login or register to view this content. Registration is FREE
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?