If I use the login control all the users that are authenticated are sent to default.aspx.
How Can I send a user e.g. 'Dave12' to a protected folder 'admin' and a particular page 'admin.aspx' within that folder once he has logged in?
I've a bit of an idea to place a web.config file in the folder 'admin' with the following code
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow users="Dave12" />
<deny users="*" />
</authorization>
</system.web>
</configuration>
I also think that an authenicate event might be needed.
I'd appreciate any help.
thanks,
Michael.
How Can I send a user e.g. 'Dave12' to a protected folder 'admin' and a particular page 'admin.aspx' within that folder once he has logged in?
I've a bit of an idea to place a web.config file in the folder 'admin' with the following code
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow users="Dave12" />
<deny users="*" />
</authorization>
</system.web>
</configuration>
I also think that an authenicate event might be needed.
I'd appreciate any help.
thanks,
Michael.