The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Sessions::ThreeS::SidGen - Session ID generator base class

SYNOPSIS

This is an abstract class that you can inherit from to implement session ID generation.

To use this, inherit from it using Mojo::Base and implement the methods marked as ABSTRACT.

generate_sid

ABSTRACT

Generates a brand new session ID.

Called with the current mojolicious controller by the framework:

  my $new_sid = $this->generate_sid( $controller );