Is it possible to change session drivers without logging out users?
I'm currently using the file driver, but want to change it to redis to make the deployment process easier.
I'm assuming my users will have to log out when I make the switch, but I'd like to avoid this if possible.
There isn't anything in the documentation indicating that I can migrate data between drivers, but I thought it couldn't hurt to ask. Thanks for any help!
You can perhaps try to understand how the session is stored in Redis, retrieve all existing sessions in file and store them in Redis. But I wouldn't try this in production.
The easiest way is to warn the users that the application will be unavailable from 10pm to 11pm and push the new code within this while.