该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simple Session Support

描述

This plugin adds PHP session support. Data can be passed from one request to the next.

Functions are provided to get and set items in the PHP session.

Features for Developers

  • You can save data from one HTTP request to another.
  • the simpleSessionSet($key, $value) function sets a session value
  • the simpleSessionGet($key, $default) function gets a session value with a default value if the key is not found
  • the session is started in the init action and destroyed in the login and logout actions

Additional Features

There are no additional features supported by Simple Session Suppoprt. The code is simple, small and well documented,
so you can use it as a starting point for your own plugins or themes.

安装

  1. Use the Plugins, Add New menu in WordPress to install the plugin or upload the simple-session-support folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

2016 年 9 月 3 日
Solves the issue of storing session variables with great simplicity.
阅读所有13条评价

贡献者及开发者

“Simple Session Support” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Simple Session Support”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • test with WordPress 3.8

1.01

  • make it cooperate with other plugins that use the session

1.0

  • First release.