However, if you just want to give each user his own private folder, the best way to do this is to create a session variable that holds a path to the user folder when user logs in, for example something similar to: