I have a shopping cart to buy wines(assume url is www.winery.com). I allow user to register to create him store on my site to buy and introduce wines. when user registered successfully, he will open him site using url: www.winery.com/
root url: www.winery.com
user1: www.winery.com/user1
user2: www.winery.com/user2
....
Reference: http://www.amazon.com/Target/b/103-7415064-0440659?ie=UTF8&node=1079726
(this is a store in Amazon)
How can you help me?
Thank you and best regards,
kiet vu
kiet vuPosted Aug 23, 2007, 5:19 AM
Thanks and best regards,
Kiet
Munir ShaikhPosted Aug 23, 2007, 4:52 AM
Hi,
I had implemented similar functionality in classical asp before 2-3 years, in the same case at the time of the registration you need to check if similar user not already exists in the system, if not the create a user folder on the machine and copy the template which allow to create seperate store by user's name and redirect to the same URL.
About the template you have to create a template which should be common for all the users, the functionality will be as such it should display user's cart and should display all the categories of products, this can be a single file should vary depend on logged in user, In dot net 2005 this you can achive by using tab structure and Themes and skins.
I hope this will give you good idea, This is just concept rest all you need to implement.
But i am sure that same will work with .net
Note: You should give AspNet user account permission to the folders (read, write & execute)
Regards,
>>Munnamax