prasathmani / tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager
https://tinyfilemanager.github.io
GNU General Public License v3.0
4.88k stars 1.66k forks source link

Alternative for $_SESSION login #989

Open zidanpragata opened 1 year ago

zidanpragata commented 1 year ago

sometimes there are servers that don't work using "$_SESSION" please add an alternative for this like $_COOKIE or using SQLITE

JaggedJax commented 1 year ago

I was able to put custom session handling inside the config.php and then set $use_auth = false; to disable the built in auth if the user is logged in through my system, and then enable auth as well as not even load the tinyfilemanager if the user isn't logged in my way. This sidesteps the built in auth handling and allows me to use my existing auth handling.