Class Phalcon\Session\Factory
extends abstract class Phalcon\Factory
implements Phalcon\FactoryInterface
Loads Session Adapter class using 'adapter' option
<?php
use Phalcon\Session\Factory;
$options = [
"uniqueId" => "my-private-app",
"host" => "127.0.0.1",
"port" => 11211,
"persistent" => true,
"lifetime" => 3600,
"prefix" => "my_",
"adapter" => "memcache",
];
$session = Factory::load($options);
Methods
public static load (Phalcon\Config | array $config)
protected static loadClass (mixed $namespace, mixed $config) inherited from Phalcon\Factory
...
General
Contributions
Getting Started
Tutorials
Environments
Development Tools
Database
Business Logic