This repository was archived by the owner on Sep 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +24
-18
lines changed
Expand file tree Collapse file tree 1 file changed +24
-18
lines changed Original file line number Diff line number Diff line change 22PHP SESSION CLASS
33
44
5+ Author [ yakeing] ( http://weibo.com/yakeing )
56
6- INITIALIZATION
7- -----
7+ [ ![ image] ( https://oauth.sinaapp.com/svg/4D4D4D/License/F66000/MPL2.0/image.svg )] ( https://github.com/yakeing/session/blob/master/LICENSE )
88
9- $expire Default server 180 minutes client end
10- $uid user ID, Default automatic generation
9+ [ ![ image] ( https://oauth.sinaapp.com/svg/4D4D4D/Language/007EC6/PHP/image.svg )] ( https://github.com/yakeing/session/blob/master/session.php )
1110
11+ [ ![ image] ( https://oauth.sinaapp.com/svg/4D4D4D/Version/97CA00/1.0/image.svg )] ( https://github.com/yakeing/session )
1212
13- FUNCTION
14- -----
15- >
16- set(name, value) Set up a session Value
17- >
18- get(name) Get a session Value
19- >
20- deletes(name) Write off a session Value
21- >
22- destroy() End all session Value
23- >
13+ ### INITIALIZATION
2414
25- SINA CLOUD SERVICES
26- -----
27- SAE provides a solution for Memcache storage Session
15+ - [x] example
16+ ``` php
17+ $expire //Default server 180 minutes client end
18+ $uid //user ID, Default automatic generation
19+ ```
20+
21+ ### FUNCTION
22+
23+ - [x] example
24+ ``` php
25+ set($name, $value) //Set up a session Value
26+ get($name) //Get a session Value
27+ deletes($name) //Write off a session Value
28+ destroy() //End all session Value
29+ ```
30+
31+ ### SINA CLOUD SERVICES
32+
33+ SAE provides a solution for Memcache storage Session
2834
2935[ MemcacheSessionHandler] ( http://www.sinacloud.com/doc/sae/php/runtime.html#session )
You can’t perform that action at this time.
0 commit comments