Share » Forums » Developer » Fetching basket: not for current...

Fetching basket: not for current user, but for current session

Fetching basket: not for current user, but for current session

Wednesday 13 April 2005 5:06:37 am - 3 replies

Author Message

Bård Farstad

Wednesday 20 April 2005 3:06:42 am

Adolfo,

I'm not sure if I follow what you are asking for. But the shopping basket is connected to sessions and not users. E.g. if you add some products to the shopping basket and logs in with another user, then the shopping basket will contain the same products. This is intentional because you are often not logged in when you start to add products in the basket.

I hope this answered your question.

--bård

Documentation: http://ez.no/doc

john polo

Friday 06 January 2006 3:35:56 pm

Basket cannot be linked to user instead of session ?

Reason im asking this is that, what if someother user enters the same site in public pc..those products will be shown again to any user that logs on that site

William Steenbergh

Wednesday 11 January 2006 1:31:24 am

I believe the behavior of the basket should be made an INI-setting or something, with one way working on a per-session base, and the other per-user.

I think it's illogical to begin with, if you look at the default settings in ez Publish's ini files.

Bard said this was so anonymoous shoppers could start shopping and not lose the basket when logging on, but then why is the default set to:

{UserSettings]
RequireLogin=true

??
In this default, the user should always be logged on to even see the site, let alone buy stuff. Considering the default settings, the argumentation for this behavior is not logical (but understandable on the whole, though ;-)).

Please consider making this behavior optional. You will save a lot of us headaches and long nights of kernel hacking.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu