Package turbogears :: Package visit :: Module api :: Class VisitFilter
[hide private]

Class VisitFilter

source code


A filter that automatically tracks visitors.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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

Inherited from cherrypy.filters.basefilter.BaseFilter: after_error_response, before_error_response, before_finalize, before_request_body, on_end_request, on_end_resource, on_start_resource

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]
 
_generate_key()
Return a (pseudo)random hash based on seed.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

before_main(self)

source code 

Check whether submitted request belongs to an existing visit.

Overrides: cherrypy.filters.basefilter.BaseFilter.before_main