Posted on: 11/5/2014 6:20:54 PM | Views : 641

Hi there
Within my application I currently have set up a login from a tutorial I found on the net. It works in the sense I can log in and am taken to correct pages. It uses role based authenication from SQL server. The problem lies in that when I run my program it wants me to log in straight away I can't access the top leve pages, ie index, contact etc unless I'm logged in. I'd want the user to be able to have access to all the top level files within my project except those that are under the 'Admin' folder, only logged in users should be able to log into these files. I'd imagine I have to amend web.config on the top level:
<configuration> <connectionStrings> <add name="constr" connectionString="###" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <compilation debug="true" strict="false" ...

Go to the complete details ...