在 Zend 框架 2 中的操作之间保留数据的最佳方法是什么? [英] What is the best way to keep data between actions in zend framework 2?
本文介绍了在 Zend 框架 2 中的操作之间保留数据的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个表单,它被细分为多个步骤,我想知道保存数据的最佳方式是什么.
I have a form and it is subdivided in multiple steps, and i would like to know what is the best way to keep the data.
我正在使用 php 和 zend 框架 2
I'm using php with zend framework 2
推荐答案
将数据存储在会话中.在任何应用程序中都是如此.
Store the data in a session. This would be true in any application.
这篇关于在 Zend 框架 2 中的操作之间保留数据的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文