CodeIgniter session cookie domain

后端 未结 2 1282
一生所求
一生所求 2020-12-20 18:00

It appears with the following cookie settings below, that cookies are set for the entire domain. For example if I was on http://subdomain.domain.com the cookie would be set

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 18:28

    When using several codeigniter applications on subdomains it is also important to set the same $config[‘encryption_key’].

提交回复
热议问题