Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cant get any further with cookies enabled


julianpuje

Recommended Posts

Hi all

Appreciate any help on this.

With cookies enabled, when you go to sign in it sends you to the "you need cookies set to medium" screen with instructions etc on how to set them. This is all OK, but my cookies and others who have checked are already set to medium and you can't get any further whatever you have cookies set too. Has anybody got an idea on what may be the problem? or if i need to set any of the other session setting for cookies to work etc.

Also, am i right in enabling cookies to get rid of the long Oscom address bar, or is there another way of shortening the address bar?

 

TIA

 

Julian

 

Here are my session settings, if it helps:-

Session Directory /tmp 

Force Cookie Use True 

Check SSL Session ID False 

Check User Agent False 

Check IP Address False 

Prevent Spider Sessions True 

Recreate Session True

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

I had this problem.

 

Trying to remeber how I fixed it.

 

Anyway, short of a real answer, my setting for sessions are:

 

Check SSL Session ID            True 

Check User Agent            False 

Force Cookie Use            True

Check IP Address            False

Prevent Spider Sessions  False

Recreate Session                    False

 

If this doesn't work, let me know. I'll have a further look into it.

Link to comment
Share on other sites

I had this problem.

 

Trying to remeber how I fixed it.

 

Anyway, short of a real answer, my setting for sessions are:

If this doesn't work, let me know. I'll have a further look into it.

 

Thanks for the reply, but that didn't work.

Julian

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

The 'Force Cookie Use' feature won't work if you are using a shared ssl.  It will only work if you have a full ssl, or no ssl at all.

 

Vger

 

Thanks for the reply Vger

 

I have a full SSL cert not shared. I will try disabling the SSL and see if it's related.

 

Julian

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

Thanks for the reply Vger

 

I have a full SSL cert not shared. I will try disabling the SSL and see if it's related.

 

Julian

 

you might want to check your cookie domains.

If not set correctly, many browsers will see them as 3rd party cookies (not from the same site) and reject them.

Treasurer MFC

Link to comment
Share on other sites

you might want to check your cookie domains.

If not set correctly, many browsers will see them as 3rd party cookies (not from the same site) and reject them.

 

Do you mean on my own browser? as this doesn't work on anyones computer.

Also just tried it by turning off my SSL and still the same, it won't let me or anyone else past the "cookies" bit.

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

how about a link .  .

 

I keep having to turn it on and off as it's the live site. I'll enable the cookies again now, and see what you get. Cheers

 

What about the http & https cookie path settings in my config.php???? I have nothing in here.

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

no, i mean in your configure.php file

 

your cookie domains are not setup right.

 

use opera and it will tell you that your site is trying to set it cookie for exploitative purposes because the host does not mtach the domain.

As such it sees it as a 3rd party cookie and rejects it.

 

check your cookie domains in your configure.php files.

Treasurer MFC

Link to comment
Share on other sites

your cookie domains are not setup right.

 

use opera and it will tell you that your site is trying to set it cookie for exploitative purposes because the host does not mtach the domain.

As such it sees it as a 3rd party cookie and rejects it.

 

check your cookie domains in your configure.php files.

These are my configure.php settings:-

define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://www.leisurezone.co.uk'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('HTTP_COOKIE_DOMAIN', 'http://www.leisurezone.co.uk');

 define('HTTPS_COOKIE_DOMAIN', 'https://www.leisurezone.co.uk');

 define('HTTP_COOKIE_PATH', 'http://www.leisurezone.co.uk');

 define('HTTPS_COOKIE_PATH', 'https://www.leisurezone.co.uk');

 define('DIR_WS_HTTP_CATALOG', '/');

 define('DIR_WS_HTTPS_CATALOG', '/');

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_IMAGES1', 'images1/');

 

Can you see where the problem may be?? I've had to turn cookies off again as it's a live site.

 

Julian

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

These are my configure.php settings:-

define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers

?define('HTTPS_SERVER', 'https://www.leisurezone.co.uk'); // eg, https://localhost - should not be empty for productive servers

?define('ENABLE_SSL', true); // secure webserver for checkout procedure?

?define('HTTP_COOKIE_DOMAIN', 'http://www.leisurezone.co.uk');

?define('HTTPS_COOKIE_DOMAIN', 'https://www.leisurezone.co.uk');

?define('HTTP_COOKIE_PATH', 'http://www.leisurezone.co.uk');

?define('HTTPS_COOKIE_PATH', 'https://www.leisurezone.co.uk');

?define('DIR_WS_HTTP_CATALOG', '/');

?define('DIR_WS_HTTPS_CATALOG', '/');

?define('DIR_WS_IMAGES', 'images/');

?define('DIR_WS_IMAGES1', 'images1/');

 

Can you see where the problem may be?? I've had to turn cookies off again as it's a live site.

 

Julian

 

do not use http:// in you cookie domains

 

simply www.leisurezone.co.uk or Leisurezone.co.uk

Treasurer MFC

Link to comment
Share on other sites

This is my configure.php now and it still doesn't work. I've switched cookies back on again now. My Site

 

 define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://www.leisurezone.co.uk'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('HTTP_COOKIE_DOMAIN', 'www.leisurezone.co.uk');

 define('HTTPS_COOKIE_DOMAIN', 'www.leisurezone.co.uk');

 define('HTTP_COOKIE_PATH', 'www.leisurezone.co.uk');

 define('HTTPS_COOKIE_PATH', 'www.leisurezone.co.uk');

 define('DIR_WS_HTTP_CATALOG', '/');

 define('DIR_WS_HTTPS_CATALOG', '/');

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

This is my configure.php now and it still doesn't work. I've switched cookies back on again now. My Site

 

 define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers

?define('HTTPS_SERVER', 'https://www.leisurezone.co.uk'); // eg, https://localhost - should not be empty for productive servers

?define('ENABLE_SSL', true); // secure webserver for checkout procedure?

?define('HTTP_COOKIE_DOMAIN', 'www.leisurezone.co.uk');

?define('HTTPS_COOKIE_DOMAIN', 'www.leisurezone.co.uk');

?define('HTTP_COOKIE_PATH', 'www.leisurezone.co.uk');

?define('HTTPS_COOKIE_PATH', 'www.leisurezone.co.uk');

?define('DIR_WS_HTTP_CATALOG', '/');

?define('DIR_WS_HTTPS_CATALOG', '/');

 

set your cookie paths to /

 

 

so :

 

define('HTTP_COOKIE_PATH', '/');

Treasurer MFC

Link to comment
Share on other sites

Thank you for all your help, thats finally worked :thumbsup: .

I'll try and get some lunch now.

 

Thanks again

 

Julian  :D

 

hold on, you might want to check your shopping cart behaviour.

Enter a quantity of 999999999999999

 

and your layout will go crazy.

 

even more, I only have to pay 9.65 pound for 99999999999999 items.

 

check this.

 

9999999999999999999999999999 x 5ft Blue Air Hockey Table

 

 

?9.65

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...