GithubHelp home page GithubHelp logo

Comments (5)

onanying avatar onanying commented on August 21, 2024

The mix's session is stored in redis and does not use PHP's built-in session, which is completely different from laravel.

from mix.

zilveer avatar zilveer commented on August 21, 2024

@onanying
Thx for to reply.
Is there any way to store the user sessions among multiple servers for front end ? I mean in the end we will be using load balancing and that is why it is important to be able have sessions in DB.
Or is there any other way to solve in it mix-php ?

from mix.

onanying avatar onanying commented on August 21, 2024

The mix session is based on redis and supports load balancing.

from mix.

zilveer avatar zilveer commented on August 21, 2024

@onanying that means the if I use mix-pho there is no other way for me to share the user sessions amount the multiple servers if I don't create my own session handler right ?
Is there any plan to add DB session handler soon for mix-php soon ?

from mix.

pingcheng avatar pingcheng commented on August 21, 2024

@onanying that means the if I use mix-pho there is no other way for me to share the user sessions amount the multiple servers if I don't create my own session handler right ?
Is there any plan to add DB session handler soon for mix-php soon ?

Simply launch a redis server and make mix-php use that redis, then you can read the session from same session pool.

Redis a memory based cache program, it is a memory DB.

from mix.

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.