session_start()的刷新问题!
我有个页面用了session_start(),同时在这个页上有个表单,两个文本框, 用来让用户发邮件用,当我填写完进入确认画面, 再后退回来时我两个文本框里的东西都没了,它自动给我刷新了!!
但去掉session_start(),就没问题了!!
大家有什么办法啊?不要告诉我放到session里去哦, 就这么点数据!!
问题点数:100、回复次数:6Top
1 楼ustb(偶然)回复于 2003-09-02 14:34:37 得分 100
session_cache_limiter("private");
加在session_start();之前Top
2 楼xuzuning(唠叨)回复于 2003-09-02 14:38:04 得分 0
<?
session_cache_limiter("public");
session_start();
....Top
3 楼xuzuning(唠叨)回复于 2003-09-02 14:38:15 得分 0
<?
session_cache_limiter("public");
session_start();
....Top
4 楼mrsun()回复于 2003-09-02 17:25:09 得分 0
<?
session_cache_limiter("public");
session_start();
....
?>Top
5 楼DFlyingchen(弱水三千)回复于 2003-09-02 17:54:36 得分 0
session_cache_limiter() returns the name of the current cache limiter. If cache_limiter is specified, the name of the current cache limiter is changed to the new value.
The cache limiter controls the cache control HTTP headers sent to the client. These headers determine the rules by which the page content may be cached. Setting the cache limiter to nocache, for example, would disallow any client-side caching. A value of public, however, would permit caching. It can also be set to private, which is slightly more restrictive than public.
Top
6 楼DFlyingchen(弱水三千)回复于 2003-09-02 17:55:42 得分 0
谁能解释一下,看不太懂Top
7 楼DFlyingchen(弱水三千)回复于 2003-09-02 17:55:55 得分 0
谢谢了Top



