1
我试图把下面一行在我的根.htaccess中:如何在子域上共享会话?
php_value session.cookie_domain .domain.com
但它给我500内部服务器错误! 我该如何解决这个问题?或者我怎样才能将会话分享给子域名?
这里是error_log中消息:
public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://xxxxx.xx/xxxxx.php
一个问题:如果两个子域是在两个不同的IP地址,将在本届会议还起作用吗? 在此先感谢。
之前使用
session_set_cookie_params
如果你读取错误日志? – zerkms 2013-03-17 21:25:16错误日志消息: public_html/.htaccess:命令'php_value'无效,可能是拼写错误或未包含在服务器配置中的模块定义的,referer:http:// – 2013-03-17 21:31:48