I am using asp.net membership, I have few pages at the root like loin, register, forget pass, that are accessible to all users before they log in or not registered, I want to stop these pages to accessible once user get logged in, I mean if a user manually type the URL in the Address Bar it allows to access those pages how to prevent this?
Also, I am facing a problem how to redirect to a particulate page after getting logged in.
I am using asp.net membership, I have few pages at the root like loin,
Share
to redirect once Logged in check FormAuthentication.RedirectfromLoginPage
and you can check whether user is authenticated or not by
Check this links for forms authentications