Session Problem in Shopping-Cart

Author Message

Nico Westermann

Sunday 13 June 2004 10:44:05 am

Hello,
first a big compliment to all producers - eZ Publish 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

eZ publish 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 eZ publish 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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.