1.11M Members



I am developing a small online shopping website.

My question is:

Do I still have to use session if I wont allow customers to add items to cart when they are not registered?

Meaning, once they want to order, they will have to register and login to their account

Thank you!


What is the problem with using sessions?

But to answer your question, I shouldn't think so if they cannot add items to the card (because, these will be stored within the session) so aslong as the visitor to your site can only browse and doesn't have to do anything "usery" then sessions can be kept clear, for now.

You'll obviously need to use them when the user signs in and stuff :)


i guess not because you can always add the items once they logged in
but i don't know why you would not allow people to add the item before logging
then ask them if they have a account if they don't make one i think it would be very bad to not allow the user to add items some are just going to assume you don't have the item to sell


That makes sense. Thanks!


Is this solved now? If so, mark thread as solved :)

Question Answered as of 2 Years Ago by phorce and HITMANOF44th
This question has already been solved: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: