
Hi deepak,,
I am doing Login Page,.. IN That If Logout Then When I Click Logout Button It Should not work.. For That what is the logic And what Concept I have To Use.. Please Kindly Help me...
your regards, Prudvi raj.

Hi, you would might be creating session and adding some attribute during login process of user. Please check that session attribute in the if block that
if(session.getAttribute("userId")!= null){
//then show the logout button
}else{
// show the login button
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.