开发者

5 last visited pages

开发者 https://www.devze.com 2023-02-21 15:10 出处:网络
Hey everyone... Im looking for a script that can generate a开发者_StackOverflow社区 list of a users 5 last visited pages - I was thinking jQuery and Cookies? Anybody know where i can find a script lik

Hey everyone... Im looking for a script that can generate a开发者_StackOverflow社区 list of a users 5 last visited pages - I was thinking jQuery and Cookies? Anybody know where i can find a script like this ?

PHP/ASP is not an option!


Edited:

Could those get your started?

jQuery & Cookies (get/set/delete & a plugin)

jquery.COOKIE

Its sounds a bit tricky.

But could you create a serializable small queue object that maintains the last 5 pages name and url etc.

On every page, you de-serialize it, update and serialize it back, write to cookie.

Need to watch out for:

1.page load cycle

2.making a cookie too big it may get trimmed off the end.

Let other jquery+cookie experts to help you out.


Could those be helpful?

Or you have to do it with only jquery & cookies?

let jquery know which was the last visited php page?

Last Five Pages Visited Cookie with php+jquery

0

精彩评论

暂无评论...
验证码 换一张
取 消