php7 the cookie advanced optimization

php7 the cookie advanced optimization

1, Cookie path

path attribute decided to allow access to the path of Cookie. For example, set to "/" indicates that all paths are allowed to use the Cookie

2, subdomain COOKIE Share

domain settings * .96net.com.cn

3, Secure ssl https can only use

4, Expires time expired
expiration time, at some point in time after setting the Cookie will fail

Guess you like

Origin blog.51cto.com/13959155/2460244