The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 );