I'm trying to use FormsAuthentication to sign a user in, without using any ASP controls like the Login control. It's an MVC app if that makes any difference.
In my web.config, I have <authentication mode="Forms"/>. I tried it also with having more specific settings in the <forms> tag. Then, after the user's info is validated, I call this sign-in method:
public void SignIn(string username, bool createPersistentCookie, string role)
{
FormsAuthenticationTicket ticket ...
Go to the complete details ...