Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Joachim Van der Auwera
I would recommend checking out chenillekit-access. See http://www.chenillekit.org/chenillekit-access/index.html Documentation is minimal, but there is an example in the source code. Kind regards, Joachim Jonathan O'Connor wrote: Hi, I have been reading the documentation, and I haven't seen what

Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 2:14 PM, Jonathan O'Connor wrote: > Thiago, > thanks very much. You're welcome! > b) I feel (due to the examples in the documentation) that activate should > take a parameter as the id of some object I want to resurrect. onActivate is a method that handles (is invoked) t

Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Jonathan O'Connor
Thiago, thanks very much. That's basically what I did, and it works, but I don't like: a) not having a passivate method (I have no need of one yet) and b) I feel (due to the examples in the documentation) that activate should take a parameter as the id of some object I want to resurrect. No d

Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 1:42 PM, Jonathan O'Connor wrote: > Hi, Hi! > I have been reading the documentation, and I haven't seen what I need to > find out: How can a page finding that the user is not logged in, it should > jump to a login page, and optionally jump back to the requested page? Use

Where to check that the user is logged in when rendering a page

2009-01-16 Thread Jonathan O'Connor
Hi, I have been reading the documentation, and I haven't seen what I need to find out: How can a page finding that the user is not logged in, it should jump to a login page, and optionally jump back to the requested page? I already know how to check the session to see if a) there is a session,