Click here to Skip to main content
15,906,626 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Help me , How to do only member can purchase item, non-member must be register then only can purchase
Posted
Comments
BillWoodruff 15-Dec-13 4:43am    
Please give more details: this is an online store ?

And, see:

http://www.codeproject.com/Articles/34444/Building-a-Web-Site-with-Membership-and-User-Login

You should have a Login System for your Web Application.
When user Logins into system, store User information in Session.

If Session does not have value, then the visitor has not yet login. So, don't allow him/her to purchase, else allow him.
 
Share this answer
 
i have simple way
1.shows all product in your website
2.customer click any product
3.when shows the login page
4.that have signup and sign in links
5.using session of that process
7.then only go to next step
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900