NAME
CGI::LZE.pm
NAME
CGI::LZE
SYNOPSIS
use CGI::LZE;
DESCRIPTION
CGI::LZE is a CGI subclass, This Module is mainly written for CGI::LZE::Blog.
But there is no reason to use it not standalone. Also it is much more easier
to update, test and distribute the parts standalone.
You can use CGI::LZE as a standalone "CMS", for session managment or for multilanguage
applications. Look into the example directory ...
EXPORT
translate init session $lng createSession $params clearSession includeAction
Public
new()
init()
init("/srv/www/cgi-bin/config/settings.pl");
default: /srv/www/cgi-bin
include
my %vars = (sub => 'main','file' => "fo.pl");
my $qstring = createSession(\%vars);
include($qstring);
includeAction
createSession
Secure your Session (or simple store session informations);
my %vars = (geheim => 'query','geheim2' => "Jo");
my $qstring = createSession(\%vars);
*params= \$CGI::LZE::params;
session($qstring);
print $params->{geheim},$/;
session
session if param('session');
clearSession
delete old sessions. Delete all session older then 120 sec.
translate()
translate(key);
Private
hook
used by include and includeAction.
getSelf()
see Also
CGI CGI::LZE::Actions CGI::LZE::Translate CGI::LZE::Settings CGI::LZE::Config
AUTHOR
Dirk Lindner <lindnerei@o2online.de>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Hr. Dirk Lindner
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.