Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

in https and then go to another page, kicks customer out and puts back into http?


AWWWW.WAHWAH

Recommended Posts

Posted

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!

Posted

Did you use the tep_href_link function to link to that page??

Posted

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?

Posted

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.

Posted

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.

Posted
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...