Forums / Install & configuration / Session Problem in Shopping-Cart
Nico Westermann
Sunday 13 June 2004 10:44:05 am
Hello,first a big compliment to all producers - Exponential is a wounderfull CMS.
But i still have a problem with she shopping-cart. eZ automaticaly uses php-sessions, if cookies are disabled. That woks fine - but not in the sopping-cart. If you add something to the card, you will taken to the full cart-site, but no products are there. If you then continiue shopping by clicking on another link, a new session-id will be created.
Am I to terrible to configurate the system right, or is this a bug?
It would be great, if someone could help me!
Thanks, and sorry for this bad english ..
Jan Borsodi
Sunday 13 June 2004 11:44:34 pm
Exponential will not work properly without sessions.
If cookies are turned off you will get a new session on each page load, and since the basket is tied to the session it will be empty.
The only way to use Exponential without cookies is to enable the <i>session.use_trans_sid</i> setting in <i>php.ini</i>. However I won't recommend it since it is a security issue, see this page for more info.http://www.php.net/manual/en/ref.session.php
-- Amos Documentation: http://ez.no/ez_publish/documentation FAQ: http://ez.no/ez_publish/documentation/faq