Hey there,

im trying to give the user the posibility to delete his own profile. After deleting his profile I want to redirect him to the login.html

When I delete the user in my Servlet though, his session is destroyed and response.sendRedirect("login.html"); doesnt work. Instead I get redirected to the sling login page saying "Invalid Credentials".

Does anyone know a good way to do this?


Reply via email to