Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small typo

  • Loading branch information...
commit 1c9bebf8c4e640331507e79d817e5ac5cb39cbab 1 parent 4da44f1
@xrfang xrfang authored anandology committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  cookbook/cookies.md
View
2  cookbook/cookies.md
@@ -33,7 +33,7 @@ Web.py *comes* with an easy to use method for setting/getting cookies.
Calling the above class with GET will set a cookie named "age" with a default value equal to "25" (this default value actually comes from the web.input processing, NOT the setcookie function), which expires in 1 hour (3600 seconds).
-The third (and optional) argument to `web.setcookie()`, "expires", allows you to set when you want your cookie to expire. Any negative number will expire the cookie immediately. Any positive number is the number of seconds that the cookie will last (3600 would result in an hour long cookie). Leaving this argument empty results in a session cookie, which expires when your browser shut down. To make the cookie "permanent", simply update cookie expiration time at regular interval (e.g. when user logged in).
+The third (and optional) argument to `web.setcookie()`, "expires", allows you to set when you want your cookie to expire. Any negative number will expire the cookie immediately. Any positive number is the number of seconds that the cookie will last (3600 would result in an hour long cookie). Leaving this argument empty results in a session cookie, which expires when your browser shuts down. To make the cookie "permanent", simply update cookie expiration time at regular interval (e.g. when user logged in).
###Retrieving Cookies
####Overview
Please sign in to comment.
Something went wrong with that request. Please try again.