Skip to content

Commit

Permalink
Merge branch 'SysPete-skel-changes-for-session-name'
Browse files Browse the repository at this point in the history
  • Loading branch information
veryrusty committed Jan 5, 2016
2 parents 4969c34 + da4249d commit 6348aaa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
[ DOCUMENTATION ]
* GH #1076: Typo in Dancer2::Core::Hook POD. (Jonathan Scott Duff)

[ ENHANCEMENTS ]
* GH #1074: Add sample session engine config to skeleton app.
(Peter Mottram - @SysPete)

0.165000 2015-12-17 09:19:13+01:00 Europe/Amsterdam

[ BUG FIXES ]
Expand Down
23 changes: 23 additions & 0 deletions share/skel/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,26 @@ template: "simple"
# start_tag: '<%'
# end_tag: '%>'

# session engine
#
# Simple: in-memory session store - Dancer2::Session::Simple
# YAML: session stored in YAML files - Dancer2::Session::YAML
#
# Check out metacpan for other session storage options:
# https://metacpan.org/search?q=Dancer2%3A%3ASession&search_type=modules
#
# Default value for 'cookie_name' is 'dancer.session'. If you run multiple
# Dancer apps on the same host then you will need to make sure 'cookie_name'
# is different for each app.
#
#engines:
# session:
# Simple:
# cookie_name: testapp.session
#
#engines:
# session:
# YAML:
# cookie_name: eshop.session
# is_secure: 1
# is_http_only: 1

0 comments on commit 6348aaa

Please sign in to comment.