]> granicus.if.org Git - apache/commitdiff
Update.
authorLucien Gentis <lgentis@apache.org>
Sat, 15 Feb 2014 13:19:00 +0000 (13:19 +0000)
committerLucien Gentis <lgentis@apache.org>
Sat, 15 Feb 2014 13:19:00 +0000 (13:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1568632 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml.fr

index 87b10f825e2e950555b88895f947acc70896cb61..96263c411dd3bcde1b8df22f4ebf0c6a2718b7d4 100644 (file)
@@ -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 HTTP
 </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">