session不能传递一个xml对象吗 ?
时间:2011-12-21
来源:互联网
我使用session传递一个xml对象 但是想取出来时却找不到了 为什么?
作者: twlhh 发布时间: 2011-12-21
要先序列化对象
作者: imbigsnake1 发布时间: 2011-12-21
该回复于2011-12-21 10:46:14被管理员删除
- 对我有用[0]
- 丢个板砖[0]
- 引用
- 举报
- 管理
- TOP
|
#3楼 得分:0回复于:2011-12-21 10:53:03
|
作者: hustgonia 发布时间: 2011-12-21
将对象转化成xml再保存吧。
看手册就知道了
The value to be serialized. serialize() handles all types, except the resource -type. You can even serialize() arrays that contain references to itself. Circular references inside the array/object you are serializing will also be stored. Any other reference will be lost.
看手册就知道了
The value to be serialized. serialize() handles all types, except the resource -type. You can even serialize() arrays that contain references to itself. Circular references inside the array/object you are serializing will also be stored. Any other reference will be lost.
作者: twlhh 发布时间: 2011-12-21
贴出你的代码!
把对象放到 session 中是不需要序列化的
把对象放到 session 中是不需要序列化的
作者: jakey9826 发布时间: 2011-12-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28