Click here to Skip to main content
16,006,512 members

Comments by timana (Top 2 by date)

timana 19-May-12 4:50am View    
I use asp.net and I design that when a person register to my saite , upload a picture of him/her and that picture save on a folder in the root of my project.that folder name is Uploads some of thats code << String t = Request.MapPath("~/Uploads"); Directory.CreateDirectory(t +"\\"+ u.UserNam); FileUpload1.SaveAs(t+ "\\"+ u.UserNam + "\\profile.jpg"); >> and now i want to use this image, when that person login i know i should use the Cookies but I dont know how?
timana 19-May-12 4:41am View    
I use asp.net and I design that when a person register to my saite , upload a picture of him/her and that picture save on a folder in the root of my project.that folder name is Uploads
some of thats code
<<
String t = Request.MapPath("~/Uploads");
Directory.CreateDirectory(t +"\\"+ u.UserNam);
FileUpload1.SaveAs(t+ "\\"+ u.UserNam + "\\profile.jpg");
>>
and now i want to use this image, when that person login
i know i should use the Cookies but I dont know how?