YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Silent post timeout Options
sxs_dev
#1 Posted : Thursday, March 18, 2010 1:36:33 PM
Rank: Starting Member

Groups: Registered

Joined: 3/18/2010
Posts: 2
I've hit a timeout during development where PayPal will cancel the transaction, when using force silent post confirmation, if my silent post asp.net page doesn't respond within 30 seconds. It is possible during heavy loads on our system where the 30 second limit can become an issue. I need to find a way to respond with a 200, then have the logic in my page continue until it is complete. I've tried the following code below with and without adding a Response.End(). I can only respond with a 200 when using Response.End(), but I can respond with any other status without using Response.End(). So I can cancel the transaction with PayPal and continue execution on my page by flushing the response, but I can't respond with a 200 and continue.

Response.ClearHeaders();
Response.StatusCode = 200;
Response.Flush();

Thanks.
Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.223 seconds.