Thanks Daniel.
It's great information. I will add this to my knowledge base.
Before replying to Mr. Saif, I tried from my side to achieve the solution, and it worked fine.
So, I suggested to him this solution, But I totally agree with you. The solution might have worked for me in a particular case, where it was a small test application.