i want a button on my website that reads reset, and when clicked the session gets resetted? any ideas? What i mean by resetted is just clears the session, so i want a html button that when clicked just clears the session.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This button would submit a form to a PHP script that does this:
That’s all there is to it.
Don’t be confused by the “submit a form” part — you don’t need to have anything in the form apart from the button.