Well, how you log out depends entirely on how you are doing your session management, but let's say that when a user logs in, you set a session variable bAuthenticated to TRUE, and then on every other page you check to see that bAuthenticated is true (if not redirect to login page), then, on the LogOut page you can set bAuthenticated to false again.
Regards,
Meredith Shaebanyan
|