Home > Backend Development > PHP Tutorial > php?保存控制器的数据

php?保存控制器的数据

WBOY
Release: 2016-06-23 13:30:09
Original
903 people have browsed it

view(点击上传按钮)   ->   controller (第一次保存上传的信息)   ->view(点击上传按钮)   ->   controller (第二次保存上传的信息) 
Copy after login


不用session和cookie
怎么在controller (第二次保存上传的信息) 时获取   controller (第一次保存上传的信息)  


回复讨论(解决方案)

可保存于 session、cookie、文件、数据库 或其他公共资源中
除 session 和 cookie 外都需要自己维护一个唯一的识别键

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template