Apache::AxKit::Plugin::AddXSLParams::BasicSession - Provides a way to pass info from the BasicSession taglib to XSLT params


AxKit-XSP-BasicSession documentation  | view source Contained in the AxKit-XSP-BasicSession distribution.

Index


NAME

Top

Apache::AxKit::Plugin::AddXSLParams::BasicSession - Provides a way to pass info from the BasicSession taglib to XSLT params

SYNOPSIS

Top

  # in httpd.conf or .htaccess, but *AFTER* you load the BasicSession plugin.
  AxAddPlugin Apache::AxKit::Plugin::BasicSession
  AxAddPlugin Apache::AxKit::Plugin::AddXSLParams::BasicSession

DESCRIPTION

Top

Apache::AxKit::Plugin::AddXSLParams::BasicSession (Whew! that's a mouthful) offers a way to make information about the current session available as params within XSLT stylesheets. This module, as well as parts of the documentation, were blatantly ripped off from Apache::AxKit::Plugin::AddXSLParams::Request. Thanks!

CONFIGURATION

Top

There is no configuration for this module, seeing as all session configuration needs to occur for the Apache::AxKit::Plugin::BasicSession module.

USAGE

Top

Like A:A:P:A:Request, you can access session key values by defining a specially named XSL parameter. A:A:P:A:BasicSession uses the prefix "session.keys" to represent key values. For instance, if you have a session key named "search-max", the following would work:

  <xsl:param name="session.keys.search-max"/>
  ...
  <xsl:value-of select="$session.keys.search-max"/>

Any key that begins with an underscore ("_") will not be passed as an XSL parameter, since these are considered "hidden" keys managed by the BasicSession package.

In addition to the session keys, you can also get the session ID string using session.id.

DEPENDENCIES

Top

* AxKit::XSP::BasicSession
* AxKit (1.6 or greater)

AUTHOR

Top

Michael A Nachbaur, mike@nachbaur.com Kjetil Kjernsmo, kjetilk@cpan.org

COPYRIGHT

Top

SEE ALSO

Top

AxKit, AxKit::XSP::BasicSession, Apache::AxKit::Plugin::BasicSession


AxKit-XSP-BasicSession documentation  | view source Contained in the AxKit-XSP-BasicSession distribution.