pmakulski Posted October 11, 2005 Share Posted October 11, 2005 I've received the incantation from my host on how to reference the SSL connection. It is define('HTTP_SERVER', 'http://myaddon.org'); define('HTTPS_SERVER', 'https://server1.myhost.com/~myaccount/myaddon'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myaddon.org'); define('HTTPS_COOKIE_DOMAIN', 'myaddon.org'); define('HTTP_COOKIE_PATH', '/mystore/'); define('HTTPS_COOKIE_PATH', '/mystore/'); define('DIR_WS_HTTP_CATALOG', '/mystore/'); define('DIR_WS_HTTPS_CATALOG', '/mystore/'); Add account seems to work now in the SSL. However, when I check out, it forgets who I am logged in as. I assume this has to do with cookies, so I must have to change something in the HTTPS_COOKIE_DOMAIN Can somebody tell me the incantation for the cookie domain in this configuration? Thanks Link to comment Share on other sites More sharing options...
trevb54 Posted October 11, 2005 Share Posted October 11, 2005 I've received the incantation from my host on how to reference the SSL connection.It is define('HTTP_SERVER', 'http://myaddon.org'); define('HTTPS_SERVER', 'https://server1.myhost.com/~myaccount/myaddon'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'myaddon.org'); define('HTTPS_COOKIE_DOMAIN', 'myaddon.org'); define('HTTP_COOKIE_PATH', '/mystore/'); define('HTTPS_COOKIE_PATH', '/mystore/'); define('DIR_WS_HTTP_CATALOG', '/mystore/'); define('DIR_WS_HTTPS_CATALOG', '/mystore/'); Add account seems to work now in the SSL. However, when I check out, it forgets who I am logged in as. I assume this has to do with cookies, so I must have to change something in the HTTPS_COOKIE_DOMAIN Can somebody tell me the incantation for the cookie domain in this configuration? Thanks I'm not fully knowledgeable on php, but have you tried giving the cookie address the same as your https address? eg. define('HTTPS_COOKIE_DOMAIN', 'https://server1.myhost.com/~myaccount/myaddon'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.