Welcome Guest, Not a member yet? Register   Sign In
Temp data that must be destroyed at end of lifecycle
#1

Hello everybody,

I want to create some data (for example, the object that represents the current user) that must be deleted at the end of the HTTP request, i.e. at the end of the CI lifecycle.

How can I do ?

Session->flashdata : the data is destroyed at the next request
Session->tempdata : the data is destroyed after a specified time

Thanks in advance

Vincent
Reply


Messages In This Thread
Temp data that must be destroyed at end of lifecycle - by vincent78 - 06-26-2020, 04:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB