------------------------------------------------------------------- WebGUI is Copyright 2001-2009 Plain Black Corporation. ------------------------------------------------------------------- Please read the legal notices (docs/legal.txt) and the license (docs/license.txt) that came with this distribution before using this software. ------------------------------------------------------------------- http://www.plainblack.com info@plainblack.com -------------------------------------------------------------------
WebGUI::PSGI::Middleware::Session
version 0.2
Ensure a wgSession variable in the environment hash.
builder { enable '+WebGUI::PSGI::Middleware::Session'; $app; }
In the incoming environment, if a wgSession variable is found, that is simply passed through. Otherwise, both the env hash and the %ENV hash are checked for WEBGUI_ROOT (default: /data/WebGUI) and WEBGUI_CONFIG (will die if none is found), and the cookies are used to determine a session id.
To install WebGUI::URL::PSGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebGUI::URL::PSGI
CPAN shell
perl -MCPAN -e shell install WebGUI::URL::PSGI
For more information on module installation, please visit the detailed CPAN module installation guide.