Skip to content

Persistent in Phalcon 4 #15523

Answered by Alistar84
Alistar84 asked this question in Q&A
Jun 4, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

After doing various tests, I added $this->persistent = new \Phalcon\Session\Bag(get_class()); in the initailize method of my controllers.

This way, it seems to be working as in v3.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@niden
Comment options

niden Jun 8, 2021
Maintainer Sponsor

@quasipickle
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Alistar84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants