Session handler settings Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10418
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Session handler settings

Post by sozzled » Thu Jun 17, 2021 8:50 am

As we all know, J! 3.x has (at least) two session handler settings: Database (default) and PHP. If you are using PHP 7, the optimum setting is "PHP" (see screenshot below).
j3x_sessionSettings.png
In J! 4 there are (at least) two session handler settings: Database (default) and Filesystem. I don't know why the alternative session handler is named "Filesystem" but I don't know too much. A screenshot of the relevant settings appears below.
j4_sessionSettings.png
Question: What is the optimum setting and does it matter if the Save Session Path is left empty? Further, does the "Filesystem" option behave identically to the "PHP" option in J! 3.x?
You do not have the required permissions to view the files attached to this post.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)
Testing J! 3.10: https://sintranet.enduring.com.au

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12105
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Session handler settings

Post by brian » Thu Jun 17, 2021 11:45 am

"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10418
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Session handler settings

Post by sozzled » Thu Jun 17, 2021 9:21 pm

Thank you, Brian, that was helpful. :)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)
Testing J! 3.10: https://sintranet.enduring.com.au

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12105
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Session handler settings

Post by brian » Thu Jun 17, 2021 11:28 pm

Always helps to click on the help button ;)
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10418
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Session handler settings

Post by sozzled » Mon Jun 21, 2021 7:46 am

Quick follow-up. I modified the file configuration.php and changed the value from

Code: Select all

	public $session_handler = 'database';
to

Code: Select all

	public $session_handler = '';
No problems logging in/out after making those changes. It's all good. :)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)
Testing J! 3.10: https://sintranet.enduring.com.au


Post Reply

Return to “General Questions/New to Joomla! 4.x”