Skip to content
Discussion options

You must be logged in to vote

I wanted to keep this discussion active, as others might encounter the same issue. To prevent static property data sharing, I used an event to clear the data. In the octane.php configuration file, there's a listeners array where you can add your own listener under the RequestReceived::class key. This event triggers when the application receives a request, allowing us to clear the data at the start of each request cycle.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@henzeb
Comment options

@rupeshstha
Comment options

@rupeshstha
Comment options

@rupeshstha
Comment options

Answer selected by rupeshstha
@rupeshstha
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants