Forum Moderators: mack

Message Too Old, No Replies

aceflex customer login

restrict access to products in aceflex

         

geekdirecter

5:24 am on Jul 19, 2005 (gmt 0)

10+ Year Member



Hello all. I have been developing a site with aceflex b2c and have run into a brick wall.
I need to delay a customers access to the site until thier registration is approved. We are a PC parts supplier and as such can only sell to retailers and not the general public.
The problem is anyone can come to the site and create a new login and get access to the contents. I have contacted the aceflex support team, the support for my posts are pretty good (under 24 hours) but they are a bit cryptic for me :(
Can anyone translate this for me please?

<aceflex support>
you may add custom logic to delay customers access.

a) Modify _custom\registercustomer.asp to update table Account field Access to False and clear session (LogoffCustomer function)

b) Modify stored procedure spClient_AfterInsert and put Access to 0 by sql update.

Account access will be disabled, till admin enable it from backoffice.

um...
Any help greatly appreciated.

PumpkinHead

3:24 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



a) Modify _custom\registercustomer.asp to update table Account field Access to False and clear session (LogoffCustomer function)

They are saying you need to modify the code within registercustomer.asp so that once new customers have registered, their "Website Access" flag is set to false by default. They also say you should "LogOut" the user once they have registered.

b) Modify stored procedure spClient_AfterInsert and put Access to 0 by sql update.

Not 100% sure what they mean here, but they're saying you need to run a script over your existing user data that'll update all users to "Access = No".

Hope this helps

geekdirecter

8:57 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



Thanks for that. makes a bit more sense now.
Now I know what it means I got to figure out how to do it. whew! wheres a vulcan when u need one eh?
thanks again.