I dont know how to use OCIPlogin. I think there is a way to avoid making a new connection to the oracle database by using this function, which should be a better way than just OCIlogin.
Thanks for your help