i making a system, in which at max 10 users can login and work independently.
But the problem is that when a user logs out, i am just redirecting him to the login page, i want to end that session, so that IF HE CLICKS ON THE BACK BUTTON, HE IS NOT ABLE TO GO BACK TO HIS PAGE.
What to do?????

What actions do you take when you log in? How do you know the user is logged in?
Also you can check the API for the session class. There is an invalidate method, I think,
But answer first what I have asked and we'll see what needs to be done.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.