/    Sign up×
Community /Pin to ProfileBookmark

Recently Viewed Section?? Newb here

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

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@MstrBobJan 23.2005 — 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.
Copy linkTweet thisAlerts:
@PeOfEoJan 23.2005 — 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).
×

Success!

Help @folex187 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...