Lunarpages Web Hosting Forum

Author Topic: Recently Viewed Items  (Read 770 times)

Offline Hope

  • Intergalactic Cowboy
  • *****
  • Posts: 53
Recently Viewed Items
« on: March 28, 2005, 10:29:41 PM »
Hi All,

I'm hoping someone in here can help me. How would one go about adding a list of 5 to 10 of "your recently viewed pages/products" on a site? I'm not a script person but I'm not afraid to install, edit or learn something new so when asked about this, I thought I'd look around but have yet to find anything out there. Would this be best done by cookies, php, cgi or? None of which I have much experience in but wouldn't mind giving it a go if it didn't mean staying up all night wrestling with it.  8-) Or would this require a programmer and major fees? Any suggestions would be most appreciated.

Thanks.

Hope

Offline GMTurner

  • Berserker Poster
  • *****
  • Posts: 7479
    • Turner's Lounge
Recently Viewed Items
« Reply #1 on: March 29, 2005, 09:19:53 PM »
I'd do it either using something like a comma separated list in a cookie and pulling the product names based on the ids from a database...

or by storing an id in a cookie and then linking that to info stored in a special table within a database...

just a couple of ideas...
The above information may or may not reflect current policy, opinions, or views since it was likely made almost 10 years ago.

Offline Hope

  • Intergalactic Cowboy
  • *****
  • Posts: 53
Recently Viewed Items
« Reply #2 on: March 29, 2005, 10:25:20 PM »
Thanks, GM. I guess I'll do a little digging and learn more about cookies.

Hope