We have developed a Silverstripe site on a local server, this works fine.
But on the live server we get problems with login, with creating of Redirector page, with staying logged in, with uploading of images in ImageGallery etc.
Some live server settings are not standard, for example
session.name is not PHPSESSID
I think the session.use_cookies makes the troubles and must be set to On.
Do I have right?
Can Silverstripe properly work with session.use_cookies=off?
Thank you, I have already tested with ini_set('session.use_cookies', '1') in mysite/_config.php, it seems to work.
The setting session.use_cookies=1 is not mentioned in silverstripe documentation as required, therefore I have asked.
It's not mentioned, but there are certain PHP configuration options we miss out. I don't believe it's common to disable cookies for sessions, hence why we haven't discovered this until you raised the issue. Paranoid web host?