Warning: Undefined array key "HTTPS" in include() (line 29 of /opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php).
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4)
require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145)
Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
怎么解决关闭浏览器之后,让drupal的cookie不失效? - Drupal大学 - Drupal问答论坛
首页 / 帖子
怎么解决关闭浏览器之后,让drupal的cookie不失效?
2个答案
刘伯彪
发布于:2015-06-05 15:57

设置了setcookie,但是关闭浏览器之后再开,cookie就失效了。这是为什么啊?

老葛
发布于:2015-06-05 16:24

D7, Session Cookie lifetime: https://www.drupal.org/project/session_cookie_lifetime

D6, Session expire: https://www.drupal.org/project/session_expire