in reply to Re^2: Detecting early termination by client
in thread Detecting early termination by client

Banks, sertificates, faxes,,, -yuck!

So, again; what's wrong if you:
1) suck the data out; 2) put it somewhere so the ProcessDataDaemon will pick it up; 3) in the meantime, display a page: "Thank you for submitting blah... +Press here to view your valuable blah-blah..." , or "Check your email soon to view few-few..." - ?

Replies are listed 'Best First'.
Re^4: Detecting early termination by client
by enemyofthestate (Monk) on Apr 19, 2005 at 01:50 UTC
    What you describe is pretty much what I do. However the customer has some options regarding what he wants in response and this one is requesting a completed certificate be returned on the open connection if possible. That means I have to wait for another process to decide if that can be done. Even if the order automates (95%+ do) that means two to four seconds of idle time. It is someowhere in there I suspect the customer cuts the connection.

    I could just create a bozo list and set his defaults to something closer to what his beahvior indicates he wants but I'd prefer not to. Judging from what I see in the "emergency" logs mentioned below looking for a SIGPIPE might be the correct solution.

      Let's take it off-line. Could you send me an email? I'm new and can't figure out how to. But solutions are out there...:-).