On Wednesday, August 11, 2010 17:58:19 Timuçin Kızılay wrote:
> Did I understand correctly?
> 
> I think you have an application, you setup that application to a client
> as timed demo and you want that application stop working after trial
> time passed.
> 
> if that is what you want, just write a python function cheching trial
> time and call that function from every controller methods to check and
> if trial time passed redirect to a page showing trial time passed.
> 
> I think you do not have to call that trial check function from every
> controller methods, just put it in some most used methods.

I'd rather put it into a predicate on the root-controller, which is being 
evaluated for all requests.

Diez

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to