Background
This question is in two parts.
I have a one-way WCF operation hosted in IIS 6. The following is my understanding of how this works:
_1. IIS receives a request.
_2. IIS sends an HTTP 202 response (thanks, I'll process this later).
_3. IIS calls my one-way WCF operation.
Now control passes to my WCF operation which does the following:
_4. Persist the request info to a transactional, durable store.
_5. Start processing the request in the OLTP database.
_6. If there's an error, repeat from step 5, or take some remedial action, then cleanup the data persisted in step 4.
Question 1
Is my understanding of when IIS sends the HTTP 202 response correct?
Question 2
If IIS recycles between step 2 and step 4, I could lose the request information before I've had a change to persist it but after the client thinks I've accepted the message. Are there any guarantees provided by IIS about when it will or won't recycle when there are requests pending?
PS: Please excuse the dodgy formatting. For some reason markdown was totally screwing up my numbered list items.