I'm trying to get my ascx page / control to login an user. But i cant seem to get it working.
if(!string.IsNullOrEmpty(HttpContext.Current.Request.QueryString["CartLogin"]))
{
string Username = Request.Form["loginUsername"];
string password = Request.Form["loginPassword"];
Dynamicweb.Login login = new Dynamicweb.Login(Username, password);
login.NormalLogin();
}
Can anyone point me in the direction of where i can find the right login to use in the API?
{