nearmars Posted November 23, 2005 Share Posted November 23, 2005 mysite is www.mylarimar.com The osc site seperately works in both secure and nonsecure mode. THe problem is there is a totally seperate session created on the secure server, so session info (shopping cart contents) is not passed over. i am using cookies both environments are setting their own cookies. i guess i could hack this and force it to create a cookie with the ssl server info, but it seem like there should be a better way of doing this. here are my config settings: define('HTTP_SERVER', 'http://www.mylarimar.com'); define('HTTPS_SERVER', 'https://mylarimar.securewebsite.net'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Ok well, thanks for any help. Mike Link to comment Share on other sites More sharing options...
♥Vger Posted November 23, 2005 Share Posted November 23, 2005 define('HTTP_COOKIE_DOMAIN', 'www.mylarimar.com'); define('HTTPS_COOKIE_DOMAIN', 'mylarimar.securewebsite.net'); Vger Link to comment Share on other sites More sharing options...
nearmars Posted November 23, 2005 Author Share Posted November 23, 2005 define('HTTP_COOKIE_DOMAIN', 'www.mylarimar.com');define('HTTPS_COOKIE_DOMAIN', 'mylarimar.securewebsite.net'); Vger yeah tried that it makes the problem worse. if domain is specified no cookies are written at all. right now 2 cookies are written on has a session id for the non ssl site, the other for the ssl site. so there is no replication. thanks. Link to comment Share on other sites More sharing options...
AlanR Posted November 23, 2005 Share Posted November 23, 2005 yeah tried that it makes the problem worse. if domain is specified no cookies are written at all. right now 2 cookies are written on has a session id for the non ssl site, the other for the ssl site. so there is no replication. thanks. It has to be that way or no cookies will be set. Do you have Force Cookies set to true? If you do turn it off. Also turn off Use Search Engine Friendly URLs. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.