NAME

AxKit::App::TABOO::AddXSLParams::Session - Minimal session parameter XSLT access for TABOO

SYNOPSIS

# in httpd.conf or .htaccess
AxAddPlugin AxKit::App::TABOO::AddXSLParams::Session

DESCRIPTION

AxKit::App::TABOO::AddXSLParams::Session provides a way to pass the critical session info to XSLT params.

Like A:A:P:A:Request, you can access session values by defining a specially named XSL parameter. These three are available, and can be used as the final example indicates:

<xsl:param name="session.id"/>
<xsl:param name="session.authlevel"/>
<xsl:param name="session.loggedin"/>

...
<xsl:value-of select="$session.loggedin"/>

These parameters can supply the session ID, the authorisation level and the username of the logged in user. If there is no logged in user, the latter will return 0 and guest respectively.

SEE ALSO

Apache::AxKit::Plugin::AddXSLParams::Request

FORMALITIES

See AxKit::App::TABOO.