Validating Passwords Against Database

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jtcoburn
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Mon Dec 10, 2007 10:11 am

Validating Passwords Against Database

Post by jtcoburn » Wed Dec 26, 2007 11:50 am

We recently purchased AC 7.0 and have found it great. We are working to create a member section, outside of AC 7.0 but would like to utilize the existing schema of AC to validate users.

I'm working on this in CF 8, but with the password values encrypted, I'm having trouble validating users. Is there a procedure I can call or a way to validate a users form entry against the password stored in ac_UserPasswords?

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Wed Jan 02, 2008 3:31 pm

I have not worked with CF in a while. They must have the ability to call .NET methods by now? You can call this method:

CommerceBuilder.Users.User.Login(username, password)

It returns either true or false. If true, the username and password were valid. If false, the login failed.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

jtcoburn
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Mon Dec 10, 2007 10:11 am

Post by jtcoburn » Fri Jan 04, 2008 6:51 am

Logan,

I believe this can be done with the cfobject tag, but not being a .NET person myself, I'm not sure what the correct Assembly (.dll file) or class is?

Post Reply