Calling the script manually does not necessarily mean it will run.. it just means that it runs on that second call. It is sporadic. Regarding the error codes... it is not coming back from the APC() function so I dont think any error codes are bing generated. I added check output statements along the way and once it goes into whichever apc() I am trying to call it will not come back. That is why I responded with the statement about I am not getting error codes. If the script is not stepping past A... B will not be called. Perhaps I am wrong.. I will give it a shot for you but like I said it is a hard problem to duplicate... I cannot duplicate it until a user calls me and says there login script has been sitting there for 10 min. Then when they run it again all is ducky.

Thanks for the sugguestions...
_________________________
Austin Henderson