cvs: phpdoc-zh /reference/session ini.xml
| From: | Gang Chen | Date: | Sun, 14 Dec 2008 07:17:36 +0000 |
| Subject: | cvs: phpdoc-zh /reference/session ini.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-3082@lists.php.net to get a copy of this message | ||
eniac2008 Sun Dec 14 07:17:36 2008 UTC
Modified files:
/phpdoc-zh/reference/session ini.xml
Log:
Add cookie-httponly
http://cvs.php.net/viewvc.cgi/phpdoc-zh/reference/session/ini.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-zh/reference/session/ini.xml
diff -u phpdoc-zh/reference/session/ini.xml:1.5 phpdoc-zh/reference/session/ini.xml:1.6
--- phpdoc-zh/reference/session/ini.xml:1.5 Sat Jun 23 13:32:50 2007
+++ phpdoc-zh/reference/session/ini.xml Sun Dec 14 07:17:36 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.5 $ -->
-<!-- $Author: bjori $ -->
+<!-- $Revision: 1.6 $ -->
+<!-- $Author: eniac2008 $ -->
<!-- EN-Revision: 1.40 Maintainer: dallas Status: ready -->
<section xml:id="session.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
@@ -88,9 +88,15 @@
<entry>session.cookie_secure</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
- <entry>×Ô PHP 4.0.4 Æð¿ÉÓá£</entry>
+ <entry>×Ô PHP 4.0.4 ÆðÓÐЧ¡£</entry>
</row>
<row>
+ <entry>session.cookie_httponly</entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>×Ô PHP 5.2.0. ÓÐЧ</entry>
+ </row>
+ <row>
<entry>session.use_cookies</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
@@ -470,6 +476,21 @@
</listitem>
</varlistentry>
+ <varlistentry xml:id="ini.session.cookie-httponly">
+ <term>
+ <parameter>session.cookie_httponly</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <simpara>
+ Marks the cookie as accessible only through the HTTP protocol. This means
+ that the cookie won't be accessible by scripting languages, such as
+ JavaScript. This setting can effectively help to reduce identity theft
+ through XSS attacks (although it is not supported by all browsers).
+ </simpara>
+ </listitem>
+ </varlistentry>
+
<varlistentry xml:id="ini.session.cache-limiter">
<term>
<parameter>session.cache_limiter</parameter>