FreeBSD.software
Home/www/p5-Dancer2-Plugin-Deferred

p5-Dancer2-Plugin-Deferred

0.008000www

Dancer2 plugin to defer messages or data across redirections

This Dancer2 plugin provides a method for deferring a one-time message across a redirect. It is similar to "flash" messages, but without the race conditions that can result from multiple tabs in a browser or from AJAX requests. It is similar in design to Catalyst::Plugin::StatusMessage, but adapted for Dancer2. It works by creating a unique message ID within the session that holds deferred data. The message ID is automatically added as a query parameter to redirection requests. It's sort of like a session within a session, but tied to a request rather than global to the browser. (It will even chain across multiple redirects.)

$pkg install p5-Dancer2-Plugin-Deferred
metacpan.org/release/Dancer2-Plugin-Deferred
Origin
www/p5-Dancer2-Plugin-Deferred
Size
21.4KiB
License
APACHE20
Maintainer
perl@FreeBSD.org
Dependencies
3 packages
Required by
1 packages

Dependencies (3)

Required By (1)