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

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

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

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

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

Archived

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

×
×
  • Create New...