LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP session handling need help to setup (https://www.linuxquestions.org/questions/linux-newbie-8/php-session-handling-need-help-to-setup-4175648480/)

muqor 02-17-2019 03:53 AM

PHP session handling need help to setup
 
I found the list for php session handling :

session.auto_start = Off
session.save_path = /path/PHP-session/
session.name = myPHPSESSID
session.hash_function = 1
session.hash_bits_per_character = 6
session.use_trans_sid = 0
session.cookie_domain = full.qualified.domain.name
#session.cookie_path = /application/path/
session.cookie_lifetime = 0
session.cookie_secure = On
session.cookie_httponly = 1
session.use_only_cookies= 1
session.cache_expire = 30
default_socket_timeout = 60

I am confused what I have to list below :
session.save_path = /path/PHP-session/
session.name = myPHPSESSID

Do you have any example?

Thanks

j-ray 02-18-2019 10:42 AM

These values are usually set in php.ini. Depending on the way you installed PHP this file may reside in /etc/php/ folder or somewhere else. Usually you can take the default settings unless you want to achieve a specific goal. So the working ini file is the best example I guess.

Would be useful if you mention the distro you are using in the signature. You will receive more detailed info and help if you let us know.
Cheers, j

muqor 02-19-2019 03:15 AM

Done


All times are GMT -5. The time now is 12:13 AM.