How and where would you store that? I'm using a Redis based session storage for my Laravel based locale adverts page. I'd have considered storing an array in each session which store the IDs of the viewed articles. Whenever somebody views a nice article, it is pushed at the front of this array and when the array is longer then N, the last element is dropped. However, I'm not sure if this is the most efficient way to store that. How do you store these things?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community