I have a custom plugin that is subscribed to this event
Inside the handler function I'm just checkking in the session if there is a variable set. If it is, no action is taken. If it is not, then a page redirect happens to show the user the page that contains the form, which when submitted sets the session variable. It all works fine when in development mode, the problem starts when page is in production mode and pages are shown from cache. Then the session check is skipped.
Is there a way to trigger the session checking for the variable before the cached version of the site is delievered?Thank you for any ideas.