开发者

5 last visited pages

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜