module Amatista::Sessions

Overview

Methods to save a sessions hash in a cookie.

Direct including types

Defined in:

amatista/sessions.cr

Instance Method Summary

Instance Method Detail

def get_session(key) #

Get a value from the cookie.


[View source]
def has_session? #

[View source]
def remove_session(key) #

remove a sessions value from the cookie.


[View source]
def send_sessions_to_cookie #

[View source]
def set_session(key, value) #

Saves a session key.


[View source]