Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
iotcat 43d95bd09a pm2 to node il y a 2 ans
php bug il y a 3 ans
src pm2 to node il y a 2 ans
.gitignore Initial commit il y a 4 ans
Dockerfile pm2 to node il y a 2 ans
LICENSE Initial commit il y a 4 ans
README.md Update README.md il y a 4 ans
package-lock.json Bump lodash from 4.17.15 to 4.17.19 il y a 4 ans
package.json :works: il y a 4 ans
pm2.json pm2 to node il y a 2 ans
yarn.lock Merge pull request #2 from IoTcat/dependabot/npm_and_yarn/lodash-4.17.19 il y a 4 ans
zh.md Create zh.md il y a 4 ans

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 name
  • session.set(key, value): Create or update a session with key name and key value
  • session.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..