Author: JAYHAWKER | Posted on: 11/15/2008 2:38:47 PM | Views : 306

I am uploading images, and want to create a new subfolder on the server each time that I have a new user.  I can upload the file, but I can't successfully make a new directory and I think it is because of security.  I store the users name in a session variable called "login" ID and want to create a new subdirectory based on this variable.  Any help would be very much appreciated.  Here is my code.

If FileUpload1.HasFile Then

Try
MkDir(Server.MapPath("..\images\" & Session( Go to the complete details ...