Package turbogears :: Package visit :: Module api :: Class VisitFilter

Class VisitFilter

source code

cherrypy.filters.basefilter.BaseFilter --+
                                         |
                                        VisitFilter

A filter that automatically tracks visitors.

Instance Methods
 
__init__(self) source code
 
before_main(self)
Check whether submitted request belongs to an existing visit.
source code
 
clear_cookie(self)
Clear any existing visit ID cookie.
source code
 
send_cookie(self, visit_key)
Send an visit ID cookie back to the browser.
source code