This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 1fdaf47a1fcf7a77e721379b1efa9cc0a510f72f
tree 07fb4b09ad70f2428769a4079c7916db8ebc76f8
parent cec510f5419793e3331c5dd97487764133e6e79e
tree 07fb4b09ad70f2428769a4079c7916db8ebc76f8
parent cec510f5419793e3331c5dd97487764133e6e79e
tokyo-recipes / session-trail
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.rdoc | Tue Jul 07 16:25:29 -0700 2009 | |
| |
session-trail.lua | Tue Jul 07 16:24:05 -0700 2009 | |
| |
session-trail.rb | Tue Jul 07 16:24:05 -0700 2009 |
session-trail/README.rdoc
Simple Session trail database
Tracks user ids and visited user resources by timestamping each interaction. The list of all visits can then be retrieved by querying for a user id.
Starting server with incr extension
> ttserver -ext session-trail.lua test.tch
Executing from command line
> tcrmgr ext localhost add 1 123
> tcrmgr ext localhost add 1 256
> tcrmgr ext localhost add 1 987
> tcrmgr ext localhost add 2 987
> tcrmgr ext localhost list 1
987 1247008220
256 1247008216
123 1247008123
Executing via Ruby
> ruby session-trail.rb
1
2
3
1
343 1247008682
253 1247008681
123 1247008680
Source: alpha.mixi.co.jp/blog/?p=236







