Can you try the following code?
Dim Temfolder
Temfolder = "~/images_customer/" & Session("EmployerID")
If Not Directory.Exists(HttpContext.Current.Server.MapPath(Temfolder)) Then
Directory.CreateDirectory(HttpContext.Current.Server.MapPath(Temfolder))
End If
SetUploadsFolder(Temfolder)
Sub SetUploadsFolder(ByVal folder As String)
Editor1.Setting("security:ImageGalleryPath")=folder
Editor1.Setting("security:MediaGalleryPath")=folder
Editor1.Setting("security:FlashGalleryPath")=folder
Editor1.Setting("security:FilesGallaryPath")=folder
End Sub
Keep me posted
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx