how to create sub site folder automatically?
-
I have a problem, i hope that you help me to find the solutions: 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 .... How can you help me? Thank you and best regards vtkiet05 -- modified at 0:27 Thursday 23rd August, 2007
-
I have a problem, i hope that you help me to find the solutions: 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 .... How can you help me? Thank you and best regards vtkiet05 -- modified at 0:27 Thursday 23rd August, 2007
very easily u can do it using System.IO, directory.Create("complete_path") you must use MapPath to find the base path then append then call Directory.Create method
Nobody is perfect i'm Nobody
-
very easily u can do it using System.IO, directory.Create("complete_path") you must use MapPath to find the base path then append then call Directory.Create method
Nobody is perfect i'm Nobody
thank saifigr8, you mean after user registered, i must copy some template to folder has just created by user, because if i do not copy template to that folder, when user clicked url such as: www.winery.com/user1 the website will show. Is that right? vtkiet05