I am working with forms authentication, in web.config my code is
<authentication mode="Forms" >
<forms loginUrl="default.aspx" name=".ASPXFORMSAUTH" >
now, in my application If I hit any page directly without login, it redirects me to login page.
On successful login, I add a cookie to the response object.
But this is happening to overall application, what basically my requirement is to a web application, where anonymous users can visit also if user get sign in he can view some extra pages(secure pages)
View Complete Post