Click to See Complete Forum and Search --> : Recently Viewed Section?? Newb here


folex187
01-22-2005, 05:12 PM
Hello, I have recently started to build my website and I am by far not an expert on anything in this field. I have stumbled around and gotten a good enough feel with dreamweaver to put a site together and I'm picking up new elements to add all the time.

My question is this: on sites such as ebay and smartbargains.com they have a section that lists your 'recently viewed items' Is this possible to add w/o being a web expert?

Thank you!
Alex

MstrBob
01-22-2005, 07:35 PM
You'd need some sort of scripting, be it client-side or server-side. Most likely, one would store a cookie on the user and update it on each page view with say, the page ID, and then you could easily read it back to show viewed pages.

PeOfEo
01-22-2005, 07:48 PM
You can either use a cookie, like bob said, or you can write the url and title of the pages into the database if you are using a server side lang (do not bother with making up some deliminater, just put some raw html in the db in this case).