Home > Backend Development > PHP Tutorial > 有人用过phalcon的sessionBag吗

有人用过phalcon的sessionBag吗

WBOY
Release: 2016-06-06 20:09:59
Original
1511 people have browsed it

phalcon的session是框架自带的, 它好像只区分了多应用,

我目前的项目结构是这样的

<code>project
  application
    controllers
    library
    models
    modules
      user
        controllers
        views
      admin
        controllers
        views
    views
    bootstrap.php 
  config
  public
</code>
Copy after login
Copy after login

我的di文件都写在 bootstrap.php里的, 我想让默认控制器和user模块 使用 uniqueId = user的session, admin模块使用 uniqueId使用 admin 的session

回复内容:

phalcon的session是框架自带的, 它好像只区分了多应用,

我目前的项目结构是这样的

<code>project
  application
    controllers
    library
    models
    modules
      user
        controllers
        views
      admin
        controllers
        views
    views
    bootstrap.php 
  config
  public
</code>
Copy after login
Copy after login

我的di文件都写在 bootstrap.php里的, 我想让默认控制器和user模块 使用 uniqueId = user的session, admin模块使用 uniqueId使用 admin 的session

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template