Of course we can do this, but is it alright to do so? Are there any downsides of this approach?
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.
What do you mean by session data? What programming language on the server (if you are referring to session data on the server)?
If you are using PHP, then you’ll need to just call a PHP file with AJAX and delete using
unset()(such asunset($_SESSION['user_id']) what ever you need to. I see this as just as risky as doing it with a normal request.