Support the ongoing development of Laravel.io →
Requests Input Session
Last updated 3 months ago.
0

Well, basically you're on the right track. But dont use cookies. store the ids in the session or on the database.. i think database is better because you can keep a history of what the customer compared.

0

Great! I appreciate the feedback. I will try sessions first and then try a database to see which is more effective for me.

0

I agree.. I would do the same DB!. So you can keep customer history and product history, even google can index it.

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.