logo
  • العَرَبِيَّة‎‎ Bosanski Български Рrvatski Čeština English Français Deutsch Ελληνικά Magyar Indonesian 日本語 Polski Português Русский Español Türkçe Українська Tiếng Việt 中文
  • Version 3.3
    3.1 3.2 3.3
  • Community
    Forum Blog Resources
    Facebook Twitter Google+ Gab.ai
  • About
  • Blog
  • Support Us
  • Download
  • العَرَبِيَّة‎‎
  • Bosanski
  • Български
  • Рrvatski
  • Čeština
  • English
  • Français
  • Deutsch
  • Ελληνικά
  • Magyar
  • Indonesian
  • 日本語
  • Polski
  • Português
  • Русский
  • Español
  • Türkçe
  • Українська
  • Tiếng Việt
  • 中文
Version 3.3
  • 3.1
  • 3.2
  • 3.3
Community
  • Forum
  • Blog
  • Resources
  • Facebook
  • Twitter
  • Google+
  • Gab.ai
About
Blog
Support Us
Download
GitHub Project
 
Edit on GitHub

Class Phalcon\Session\Factory

extends abstract class Phalcon\Factory

implements Phalcon\FactoryInterface

Source on GitHub

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
  • Introduction
  • Release Notes
  • Sponsors
  • FAQ
Contributions
  • Overview
  • Pull Requests
  • NFR
  • Backtrace Generation
  • Reproducible Tests
  • Testing guide
Getting Started
  • Installation
  • Webserver Setup
  • WAMP
  • XAMPP
Tutorials
  • Basic
  • REST
  • Vokuro
  • Performance
  • Invo
Environments
  • Phalcon Compose (Docker)
  • Nanobox
  • Phalcon Box (Vagrant)
Development Tools
  • Installation
  • Usage
  • Debug
Core
  • API Index
  • Application
  • Full
  • Micro
  • Cli
  • DI Container
  • MVC
Services
  • Cache
  • Config
  • Escaper
  • Loader
  • Namespaces
  • Logging
  • Adapters
  • Queue
Database
  • Layer
  • PHQL
  • ODM
  • Models
  • Behaviors
  • Cache
  • Events
  • Metadata
  • Relationships
  • Transactions
  • Validators
  • Migrations
  • Pagination
Front End
  • Assets
  • Flash Messenger
  • Forms
  • Image
  • Tag
  • View
  • Volt
Business Logic
  • Access Control Lists
  • Annotations
  • Controllers
  • Dispatcher
  • Event Manager
  • Filters
  • Routing
  • Sessions
  • Url
  • Validation
HTTP
  • Cookies
  • Request
  • Response
Security
  • Crypto
  • Security
i18n
  • Internationalization
  • Translate
Explore All Topics
logo About Blog Support Us Download License New BSD
Development by logo o2