Page 1 of 1

Cookies not being created in google chrome

Posted: Mon Jul 26, 2010 8:15 am
by atiq576
A same application is working fine on one of our pc here and not on other on google chrome. It seems to be due to the cookies because the system is trying to use cookies here

session_set_cookie_params($settings["SecurityUserTimeout"]);
session_cache_expire(round($settings["SecurityUserTimeout"]/60)); // 24 hours
session_name("CartUserSession");
session_start();

On the pc its working shows the cookie CartUserSession but the other one does not. I checked the settings and settings are same on both computers for cookies.

what could be the reason? Due to this none of the session or cookie array is holding any data.

Regards,
Atiq

Re: Cookies not being created in google chrome

Posted: Mon Jul 26, 2010 11:12 am
by websitesca
It might be because you don't actually set a cookie value. Maybe try to set an actual cookie value for your website.

Best,
Georges,
http://www.websites.ca

Re: Cookies not being created in google chrome

Posted: Mon Jul 26, 2010 12:13 pm
by atiq576
There are lot of values set in session, i printed session array after refreshing and nothing comes up, on some pc data is coming and on some it isn't

Atiq