Well yes and no, I've heard it executes files as the web user so if I want to execute cod I would need to give it all the permissions needed to do so, but I'll try it anyway later on.

And what about login session, I've tried a lot of things but none of them worked as I expected...