Skip to content

Commit

Permalink
Release 2.15.
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Feb 13, 2017
1 parent 67b8354 commit ed6499d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to `lua-resty-session` will be documented in this file.

## [2.15] - 2017-02-13

## Added
- Added a support for chunked cookies.
See also: https://github.com/bungle/lua-resty-session/issues/35
Thanks @zandbelt

## [2.14] - 2016-12-16
### Fixed
- Lua code configuration parsing corrections (especially on boolean
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,13 @@ want to turn this off, this can be configured with Nginx `set $session_cookie_ht
delimited. By default it is a pipe character, `|`. It is up to storage adapter to decide if this configuration
parameter is used.

#### number session.cookie.chunks

`session.cookie.chunks` should be used as a read only property to determine how many separate cookies was
used for a session. Usually this is `1`, but if you are using a `cookie` storage backend and store a lot
of data in session, then the cookie is divided to `n` chunks where each stores data containing 4.000 bytes
(the last one 4000 or less). This was implemented in version 2.15.

#### boolean session.check.ssi

`session.check.ssi` is additional check to validate that the request was made with the same SSL
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ local defaults = {
defaults.secret = var.session_secret or random(32, true) or random(32)

local session = {
_VERSION = "2.15-dev"
_VERSION = "2.15"
}

session.__index = session
Expand Down

0 comments on commit ed6499d

Please sign in to comment.