Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookies problems


Guest

Recommended Posts

Posted

Hi All,

 

I have a ready shop and I want it to use cookies whenever it can, and I have some problems.

 

First of all, I've enabled it by setting 'Force Cookie Use' to true, under the 'Sessions' tab on the admin section. It is okay ?

 

Now, when I've done it and tried to put something on the shopping card, I got the Cookie_usage.php page, like my browser can't accept cookies, although I've set it to accept ALL cookies.

 

What am I doing wrong ?

 

Thanks in advance for your help,

Eyal

Posted

You should not need to set Force Cookie Use. That's for special cases.

 

There's most likely something wrong in your configure settings.

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)

Posted

Thanks Alan,

 

Well, as I understand, when Force Cookie Use is set to false, and my browser does allow cookies, I still should be using cookies, which doesn't happen here.

 

My configure.php has these settings:

 

define('HTTP_COOKIE_DOMAIN', 'just4u.co.il');

define('HTTPS_COOKIE_DOMAIN', 'secure.just4u.co.il');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

define('STORE_SESSIONS', 'mysql');

 

I'm on a shared server. I've also tried changing the COOKIE_PATH to DIR_FS_CATALOG with no luck.

 

If you need some parts from the Server Info page please just let me know. I'm very frustrated because I couldn't find similar posts on the forums.

 

You can access my site at http://www.Just4u.co.il (although in Hebrew..).

 

Thanks again,

Eyal

Posted

Additional information that may be relevant:

 

My host PHP configuration is:

 

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid Off On

 

Is that okay ?

 

Thanks,

Eyal

Posted
You should not need to set Force Cookie Use. That's for special cases.

 

There's most likely something wrong in your configure settings.

what special cases?

 

cheers

 

damo

Posted

Got the same problem in my live shop, wont use cookies if set to False and wont work if set to True. :(

 

/Andreas

Posted

Well, my site is live now too.. :rolleyes:

 

If anyone can try to help with this please, I'll be very thankful.

 

You can access my site (hebrew) at: http://www.Just4u.co.il

 

Thanks.

Archived

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

×
×
  • Create New...