Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Actor can be run in sync with submisson processing

Found in

EPiServer.Forms 1.1.4.9000

Fixed in

EPiServer.Forms 2.0.0.2

(Or a related package)

Created

Mar 23, 2016

Updated

Apr 28, 2016

Area

Core

State

Closed, Fixed


Description

An actor is designed to be de-coupled/asynchronous to the submission process. It can be run in a separate thread, even after the FormEngine returns the response to the visitor completely. So, there is no guarantee that your modification to a response does not affect the visitor.

By default, an actor is asynchronous. This change provides a new feature for the Actor, so it can be run in sync with the Submission processing, and modify the Response object (to set a cookie, for example).

An actor can only access the Response object if Actor.IsSyncedWithSubmissionProcess is true.