httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgen...@apache.org
Subject svn commit: r1568632 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
Date Sat, 15 Feb 2014 13:19:00 GMT
Author: lgentis
Date: Sat Feb 15 13:19:00 2014
New Revision: 1568632

URL: http://svn.apache.org/r1568632
Log:
Update.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1568632&r1=1568631&r2=1568632&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Sat Feb 15 13:19:00 2014
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1550686:1567430 (outdated) -->
+<!-- English Revision : 1567430 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -1068,8 +1068,22 @@ r:getcookie(key) -- Obtient un cookie HT
 </highlight>
 
 <highlight language="lua">
-r:setcookie(key, value, secure, expires) -- D&eacute;finit un cookie HTTP, par exemple
:
-r:setcookie("foo", "bar and stuff", false, os.time() + 86400)
+r:setcookie{
+  key = [key],
+  value = [value],
+  expires = [expiry],
+  secure = [boolean],
+  httponly = [boolean],
+  path = [path],
+  domain = [domain]
+} -- D&eacute;finit un cookie HTTP, par exemple :
+
+r:setcookie{
+  key = "cookie1",
+  value = "HDHfa9eyffh396rt",
+  expires = os.time() + 86400,
+  secure = true
+}
 </highlight>
 
 <highlight language="lua">



Mime
View raw message