Simple Session Support
v1.1Peter Wooster · 2012年2月24日 上架
Provides support for the PHP session allowing data to be retained from one request to another.
- 正在使用
- 200+
- 评分
- 5.0 / 5
- 累计下载
- 1.1 万
- 最近更新
- 2013年12月15日
13 条评价需要 WordPress 3.0+已测试到 3.7.41
贡献者
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.