desjardins Posted December 28, 2020 Share Posted December 28, 2020 This is a two part question... my previous post was surrounding an issue with Sessions, now I was told that it may be a server side issue so I contacted my host provider who said to me that sessions cookies REQUIRE https?? now this can't be valid because I've had no issues with sessions prior to this week - second part of this is, is there something I'm missing with maybe an updated versions? PS: yes, i'm new and simply trying to learn... Quote Link to comment https://forums.phpfreaks.com/topic/311939-do-sessions-require-https/ Share on other sites More sharing options...
requinix Posted December 28, 2020 Share Posted December 28, 2020 That's not true, no. But your entire site should be over HTTPS anyway, so... Quote Link to comment https://forums.phpfreaks.com/topic/311939-do-sessions-require-https/#findComment-1583481 Share on other sites More sharing options...
kicken Posted December 28, 2020 Share Posted December 28, 2020 2 hours ago, desjardins said: so I contacted my host provider who said to me that sessions cookies REQUIRE https? In general and by default https is not required to use sessions. However, your host may have set session.cookie_secure to on in their PHP configuration which would make it so that https is required. Quote Link to comment https://forums.phpfreaks.com/topic/311939-do-sessions-require-https/#findComment-1583485 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.