You could put this at the top of your controller files (outside a def():) 
and it would happen on every page visit:

session.last_visited_url=request.url

Reply via email to