ContentLoc bookmark = session.getBookmark();
if (bookmark!= null)
return bookmark;
// Not in session, need to do query.
ISIEvent e = ISIResponseService.get().findLatestMatchingEvent(ISISession.get().getUser(), "pageview:reading");
if (e != null && e.getPage() != null) {
bookmark = new ContentLoc(e.getPage());
session.setBookmark(bookmark);
return bookmark;
}
// User has never visited a page before. Set bookmark to first page.