troubleshooting Question

Session Solution Needed

Avatar of christamcc
christamccFlag for United States of America asked on
PHP
5 Comments3 Solutions323 ViewsLast Modified:
I have a site with two different sections, which are basically two different eCommerce solutions.  One, the "Shop", is robust and requires a log-in to an account  to order.  The other, "Subscribe", is just a simple add to cart and checkout store with no log-in required.

My issue is the sessions. The Shop controls the sessions (starts them when the site loads, destroys and starts again upon log-in, and destroys them at checkout/logout).  The simple Subscription cart uses session for order id and cart id. (The Sub cart is not affecting the session, as it just unsets the order_id and cart_id session only after checkout.)

So of course if someone jumps around and say logs into the Shop after adding something to their Subscription cart, then the Subscription cart loses the the cart id.

What would you suggest I do to allow the Subscription Cart to function more independently?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros