[tbnl-devel] Re: default handler

Stefan Scholl stesch at no-spoon.de
Thu Dec 22 18:06:55 UTC 2005


> On Thu, 22 Dec 2005 07:11:18 -0700 (MST), Jim Prewett <download at hpc.unm.edu> wrote:
> 
> > Jared was telling me that in AIRS, one of the tricks they do to
> > ensure that a user is logged in with a valid session is to have what
> > Jared calls a "default handler" which is invoked with every page (by
> > Mason apparently).  I guess it serves to validate anything you need

You could use a dispatch function as the first entry in the
tbnl:*dispatch-table*
When everything is OK it should return NIL and the other
dispatchers can see if they have work to do.


Regards,
Stefan




More information about the Tbnl-devel mailing list