Welcome Guest, Not a member yet? Register   Sign In
Can I use session()->push in a model?
#1

I'm using CodeIgniter 4.4.3 and I would like to know if it is still valid to use session()->push() in a model that extends BaseModel. 

It seems that we can't use session()->get() anymore, but I think that session()->push() is useful if sessions are stored in the database and we need to update a database value that is somehow related to a session. 
Regards.
Reply


Messages In This Thread
Can I use session()->push in a model? - by bgeneto - 11-07-2023, 07:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB