There's also the possibility of using wsgi 
middleware<http://web2py.com/books/default/chapter/29/04/the-core#External-middleware>,
 
though depending on what you're doing, it may be easier to just do 
something in the models as viniciusban suggests.

On Monday, August 5, 2013 10:22:27 PM UTC-4, viniciusban wrote:
>
> In web2py you have conditional models. See this here 
> http://web2py.com/books/default/chapter/29/04/the-core#Workflow in 
> "some caveats" sub-section. 
>
> On Mon, Aug 5, 2013 at 11:15 PM, Marcio Andrey Oliveira 
> <plic...@gmail.com <javascript:>> wrote: 
> > Hi. 
> > 
> > In Java there is the concept of URL filter chain (implemented by one or 
> more 
> > servlets). These filters may intercept requests to a specif URL or a 
> bunch 
> > of them prior the request arrive to the controller(servlet) responsible 
> to 
> > handle it. 
> > 
> > Is there such concept on web2py? 
> > 
> > How could I implement it? 
> > 
> > Thank you in advance. 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "web2py-users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to web2py+un...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to