plugin-icon

Simple Session Support

作者 Peter Wooster·
Provides support for the PHP session allowing data to be retained from one request to another.
評價
5
版本
1.1
活躍安裝總數
300
最近更新:
Dec 14, 2013

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.

目前已測試版本
WordPress 3.7.41
此外掛程式已可供下載,並可用於你 系統。