Session Middleware for Crust Framework
Perl 6
Switch branches/tags
Nothing to show
Latest commit 7cae54e Feb 20, 2017 @lestrrat committed on GitHub Merge pull request #6 from astj/deal-with-lexical-use-behavior-change
Fix failing tests
Failed to load latest commit information.
lib/Crust/Middleware Merge pull request #5 from adaptiveoptics/master Nov 19, 2016
.travis.yml migrate to Travis P6 default test Nov 4, 2016
LICENSE Initial commit Oct 31, 2015
META6.json Include Crust in META6.json depends Nov 1, 2015 Merge pull request #5 from adaptiveoptics/master Nov 19, 2016

Build Status


Crust::Middleware::Session - Session Middleware for Crust Framework


use Crust::Builder;
use Crust::Middleware::Session;

# $store can be anything that implements Crust::Middleware:Session::StoreRole.
# This here is a dummy that stores everything in memory
my $store =;
builder {
  enable 'Session', :store($store);


Crust::Middleware::Session manages sessions for your Crust app. This module uses cookies to keep session state and does not support URI based session state.

A session object will be available under the kye p6sgix.session in the P6SGI environment hash. You can use this to access session data

my &app = ->%env {


Daisuke Maki


Copyright 2015 Daisuke Maki

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.