Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Server::SessUser:ContributedKPerleDoer::Session::Driver::Database(3)

NAME
       OpenXPKI::Server::Session::Driver::Database - Session implementation
       that persists to	the database

SYNOPSIS
       To use the global database handle ("CTX('dbi')":

	   my $session = OpenXPKI::Server::Session->new(
	       type => "Database",
	   );

       To specify a different database (i.e. use a separate database handle):

	   my $session = OpenXPKI::Server::Session->new(
	       type => "Database",
	       config => {
		   driver => "SQLite",
		   name	=> "/tmp/mydb.sqlite",
	       },
	   );

DESCRIPTION
       The methods in this class do not	execute	"COMMIT"s on the database if
       it's configured to reuse	the global database handle. This is to make
       sure transcations started in the	core application logic are not
       disturbed.

       If an own database handle is created, it's configured to	do
       "AUTOCOMMIT"s.

METHODS
       Please see OpenXPKI::Server::Session::DriverRole	for a description of
       the available methods.

perl v5.32.0			OpenXPKI::Server::Session::Driver::Database(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::Session::Driver::Database&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help