D
D
deepin2019-07-21 06:41:47
PHP
deepin, 2019-07-21 06:41:47

Are sessions and https related?

I added a domain to CloudFlare, the certificate is active, but it has not yet risen completely - the connection is not secure yet.
Unloaded the site, sessions do not work?
https and php are somehow connected by sessions, I don’t understand?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
4
4iloveg, 2019-07-21
@4iloveg

There may be a problem with the http-only parameter in cookies\sessions.

G
Gomonov, 2019-07-21
@Gomonov

Are linked if the secure parameter is used when setting a cookie that contains a session ID. This is the setcookie method . And yes, sessions work through cookies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question