laravel - Questions about flash memory in Session?
習慣沉默
習慣沉默 2017-05-16 16:46:38
0
1
642

Illuminate\Session\Store.phpThe file is mainly the function of session;

Some of the methods will save the data to _flash.old, and some methods will save the data to _flash.new;

Anyone who knows, what is the difference between _flash.old and _flash.new? What are the differences in usage scenarios? Thanks!

習慣沉默
習慣沉默

reply all(1)
世界只因有你

After a long search, I found some accurate answers in Laravel-china, but they are still not detailed enough, as follows:

总之,就是把本次请求要删除的数据放在'_flash.old',留到下一次请求中使用的就把它刷到'_flash.new'中。

Hope someone can provide more details.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template