There are currently five plugins included with msession.

flexplug.cpp
The flex plugin is a generic personality module. It provides
a mechanism for personality plugin features to be handled by
function-only plugins. By naming and registering pre-defined 
functions, a function only plugin makes its services available
to the personality module. The flex plugin is loaded by default
when no other personality is loaded.

fnplug.cpp
This is an example of the function only plugin. It provides
an escape function for the flex plugin and a user callable 
function testable from the msession-test.php script in the
examples directory.

pgplug.cpp:
This is a PostgreSQL function-only plugin that implements
serialize and restore functionality for the flex plugin.
You will need to have PostgreSQL installed to build this plugin,
and be familiar how to build code which links to PostgreSQL as
it is not always the same on all systems. On *NIX systems, if 
PostgreSQL is installed in /usr/local/pgsql, then the commend is:
make POSTGRES=1 POSTGRES_HOME=/usr/local/pgsql pgplug.so
The PostgreSQL plugin compiles under Windows, but it is tricky. 

plugin.cpp
This is an example plugin which shows all the features of
a personality plugin. 

protplug.cpp
The protection plugin disables listing all sessions and
listing all session with a particular variable. It allows
listing all sessions which have a variable and a value. This
plugin is intended to protect sites with more than one domain
and more than one user from accidentally finding and manipulating
sessions which don't belong to them.
