
gkornbluth
Veteran
Dec 20, 2011, 8:04 AM
Post #1 of 3
(236 views)
Shortcut
|
|
Loging in to an account with an alternate password
|
Can't Post
|
|
Hi all, I'm hoping that someone has either done something like this before or has a good idea about how to accomplish it. I've set up a CMSB based ordering system for a company that I'm working with. When customers want to place an order, they have to have, or need to create a customer account (user account). After they log in, their customer information (name address, etc.) is automatically inserted into the order form from their customer account record. The company also has salespeople who they want to be able to set up customer accounts and place orders for their customers. There’s the unique salesperson ID field in the user records that identifies each salesperson. If the salesperson could create an account as if they were the customer, and then log into that customer account to create an order, that would work for them. The problem is that they may not have access to the customer’s email in order to retrieve the system generated password for the new account. Questions 1) Can a login password for a customer’s account be either the system generated password or a password made up of a “secret” word plus a salesperson’s ID (from the salesperson’s account). 2) How would the login system know the valid salesperson’s ID without the salesperson needing to log in? The icing on the cake... Could the ability for the salesperson to log in to the customer’s account with their secret word and salesperson’s ID be limited to say 24 hours after the customer account was created? Thanks, Jerry Kornbluth The first CMS Builder reference book is now available on-line! http://www.thecmsbcookbook.com
|