You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dependabot[bot]
2d0c2f392b
|
3 years ago | |
---|---|---|
php | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
Dockerfile | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
pm2.json | 4 years ago | |
yarn.lock | 3 years ago | |
zh.md | 4 years ago |
README.md
ushio-session
Cloud Storage solution for frontend webpage development.
Positioning
ushio-session is the predecessor of js-session, built in iotcat/ushio-js. On the basis of using iotcat/fp to locate the device, front-end users can use sessions like cookies. The session does not depend on cookies and uses server-side storage. Because of this feature, session can solve cross-domain problems that cookies are difficult to solve.
Instructions
session.get(key)
: Get according to the key namesession.set(key, value)
: Create or update a session with key name and key valuesession.del(key)
: delete session based on key name
Application
ushio-session has now been widely used in the ushio website system. You have ushio-session support behind many of the services on the websites supported by Ushio. such as:
- Cross-domain and cross-device music continues to play
- User management identification
- Language preference record
- Video playback position is recorded across devices
- User ID management
- etc..