AWWWW.WAHWAH Posted October 9, 2008 Share Posted October 9, 2008 Ok I took the basic about us page and changed it to a help page, nothing more. now when a customer logs in and site goes to https and they click that help page, it will log them out and go back to http. any clues on what i messed up on? i renamed the about us page to help.php. thanks! Link to comment Share on other sites More sharing options...
sLaV- Posted October 9, 2008 Share Posted October 9, 2008 Did you use the tep_href_link function to link to that page?? Link to comment Share on other sites More sharing options...
AWWWW.WAHWAH Posted October 10, 2008 Author Share Posted October 10, 2008 some files have $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); some have just $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUT_US)) do I need to add the SSL I am assuming? Link to comment Share on other sites More sharing options...
AWWWW.WAHWAH Posted October 10, 2008 Author Share Posted October 10, 2008 Ok I went back and tested and added the SSL part and it still logs the customer out, blank logon and password yet the URL has https now. Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2008 Share Posted October 11, 2008 It only has to be SSL if the page is suppose to be secure. When you renamed the page did you add the new page to includes/filenames.php? Did you create a new language file and put it in includes/languages/english directory? Where is the link to the page at. That is where the SSL part is probably comming from. Link to comment Share on other sites More sharing options...
AWWWW.WAHWAH Posted October 11, 2008 Author Share Posted October 11, 2008 I fixed it but cannot explain why it works now. This is what I did. In the config.php file this is what i had define('HTTP_COOKIE_DOMAIN', 'http://www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.mysite.com'); i changed it to define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'mysite.com'); now the stupid thing works. maybe someone can explain why this works now so future people searching this topic will find it. Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2008 Share Posted October 11, 2008 define('HTTP_COOKIE_DOMAIN', 'www.mysite.com');define('HTTPS_COOKIE_DOMAIN', 'mysite.com'); One of those is still wrong. If your ssl was issued with the www. then that has to be in the config. If not then leave it out. Link to comment Share on other sites More sharing options...
AWWWW.WAHWAH Posted October 12, 2008 Author Share Posted October 12, 2008 but it is now working and not kicking people out. I got the info from here? http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.