Thanks ken already i did like this...
like ur e.g.
each time according to my friends/user folder name will change through session.....
can write here
~/Photos/SESSIONValue....
at the time of creation of folder its working fine with session...
how i can change path with session according to your code after photos i want to add session....
using (DotNetGallery.GalleryDataProvider provider = DotNetGallery.GalleryDataProvider.CreateInstance(Context, "~/Photos/"))
then i will get complete answer thanks a lot.....