Once user logins to my site where i use Form Authentication then how can i stop user to going on Login & Register page if he has allready login & register.
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.
Two ways “off the top of my head”:
1 – Custom
Action Filterthat redirects the user from the page if they are logged in.2 – Simple check in the
loginaction method if the user is logged in.