[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Trouble with logging in users
****** message to minivend-users from "Snowcrest eCommerce Development" <minivend-dev@snowcrest.net> ******
Hi List users.
I'm a web developer at a local ISP in northern CA and I am running into some
problems using minivend for an eCommerce solution we are currently
developing.
Here's what I'd like to do:
Set up a login area for buyers to login as a government agent to obtain
reduced prices.
Set up reduced prices for government agents in a pricefield in the products
db via the Locale settings for government agents.
Have the fly page and results page display appropriate prices.
Here's what I've gotten done:
Properly set up the products db to contain a price column for retail buyers
and a serparate price column for government buyers.
Made the Locale for government agents switch pricefields to reflect the
reduced prices.
Using the switched pricefield, government agents will be able to view
reduced prices in the results and fly page if they login.
Here's what I can't do:
Set up a secure login area that will log a user in as a government agent and
then switch the locale setting, causing the prices to display the reduced
amounts. I've bashed my head against the wall trying the figure this out,
but no luck. I have the code set up to log the user in, but I have no
flippin clue how to add the user in the userdb file with the appropriate
password encrypted. I wouldn't mind scrapping the encryption algorithm to
have the userdb.asc tab-delimited text change the userdb.db file, but I'm
lost as to how to do this.
Help!
Masahiro Knittel
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list