Giter Club home page Giter Club logo

Comments (3)

 avatar commented on May 7, 2024

By the way, how can I write Cyrillic in Redis?
I get the character's name in the "char" array, however, Redis does not support Cyrillic. How can I convert and put the data in Redis as Cyrillic, but to support the Latin alphabet?

from noahgameframe.

ketoo avatar ketoo commented on May 7, 2024

Hi, how the session check is done in NF to prevent twice authorization on the one account?

The fact is that the authorization server somehow needs to communicate with other servers in order to somehow transfer account state from one server to another, but I could not figure out how to do this without using Redis.
If the function of sending a packet to another server would support returning the callback, it would be great, but this is not possible in NF.
How can I solve my problem without using Redis to store online session accounts?

Thank you for your patience.

Normally we store the token information in Redis or in memory that belongs the server.

It's an easy way to achieve your goal if you store the token information in Redis as all servers can access Redis to judge whether the token is expired.

But if you want to store your token in the memory which belongs to the application, you would transfer the token information by you need and change it by yourself.

from noahgameframe.

ketoo avatar ketoo commented on May 7, 2024

By the way, how can I write Cyrillic in Redis?
I get the character's name in the "char" array, however, Redis does not support Cyrillic. How can I convert and put the data in Redis as Cyrillic, but to support the Latin alphabet?

The best way is to use UTF8 format and transfer it as a string to store in Redis.

from noahgameframe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.