在ASP Response.Expires = 0的PHP中等效

时间:2017-11-13 14:32:02

标签: php asp.net

我在ASP文件中有这个代码:

<%@ Language=VBScript %>
<%
    Option Explicit
    Response.Expires = 0
%>

我的问题,在Response.Expires = 0?

的PHP中,等效的是什么

提前感谢您的答案。 SZ。

1 个答案:

答案 0 :(得分:0)

请记住使用您首选的搜索引擎找到答案:)

php中的“等价物”是session_cache_expire:

int session_cache_expire ([ string $new_cache_expire ] )

以下是文档:http://php.net/manual/en/function.session-cache-expire.php

相关问题