Hi All,
My current application is FBA sharepoint 2010 site. Now i have to add one verification application page. User will get this link on there email id, and once they will click on this link they should redirect to the verification page. But in my case user is redirected to the login page when they click on mentioned link.
Following are the changes which i have did in my application.
1) Created one Application page and added following code :-
protected override bool AllowAnonymousAccess
{
get
{
return true;
}
}
2) Inherited from UnsecuredLayoutsPageBase
3) In web.cofig added following lines :-
<location path="_layouts/VerficationPage.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
Please let me know what other changes i have to do to complete this activity.
Thanks