Membership provider
Posted: Wed Nov 26, 2008 12:10 pm
Dear All,
I'm integrating Able Commerce with an existing customers login system. What they'd like to be able to do is have users who've registered on one of their other websites to be able to log in to the store without having to register separately through Able Commerce.
To this end I've written a membership provider that inherits from AbleCommerceMembershipProvider. I've overridden all the methods with extensions where necessary interact with the external registration data. I've altered the web.config to change the default provider to my new one. The only problem I'm having now is my provider code doesn't seem to be called when a user logs in or registers via Able.
First up, I'd like to know if the above approach a sane one? If so, could somebody give me a clue as to why my provider isn't being called at the appropriate moment?
I'm starting to think maybe I should alter LoginDialog.ascx.cs instead.
Regards Giles.
I'm integrating Able Commerce with an existing customers login system. What they'd like to be able to do is have users who've registered on one of their other websites to be able to log in to the store without having to register separately through Able Commerce.
To this end I've written a membership provider that inherits from AbleCommerceMembershipProvider. I've overridden all the methods with extensions where necessary interact with the external registration data. I've altered the web.config to change the default provider to my new one. The only problem I'm having now is my provider code doesn't seem to be called when a user logs in or registers via Able.
First up, I'd like to know if the above approach a sane one? If so, could somebody give me a clue as to why my provider isn't being called at the appropriate moment?
I'm starting to think maybe I should alter LoginDialog.ascx.cs instead.
Regards Giles.