Wednesday, March 28, 2012

web configure file

<configuration>
<system.web>
<authentication mode ="Forms">
<forms name = ".moneyhub" loginUrl ="login.aspx"
protection="All" timeout="60" />
</authentication>
<machineKey validationKey="AutoGenerate"
decryptionKey="AutoGenerate" validation= "SHA1" />
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration
this is my web.config file..
is there a way tt i can direct my login.aspx to some other page other then default.aspx after i log in??? thanks..
Forms Authentication will redirect the user to the original URL requested by the user. If the user did not specify a page in the URL, this will depend on the Default Page setting in IIS for your application. If you want to redirect to another page, you could set the Default Page to something other than default.aspx in IIS. Alternatively, you might be able to perform a Resposne.Redirect in the FormsAuthentication_OnAuthenticate event handler in Global.asax.

Oh ok thanks. i try..

0 comments:

Post a Comment