On Mon, Jul 22, 2002 at 09:34:19PM +0200, Nicola Ken Barozzi wrote: > Spectron International, Inc. wrote: > >I have a password protected site. When a new user is added the password is > >the same as the user name. I want to redirect to a "change password" page > >if > >it is the first time he has logged in (username=password). How can I do > >that? > > You should not redirect. > > When you get the data about the login, you select what to return to him, > ie the change password pipeline or the other one. > > Forget redirects if possible, that are like gotos; just think of how you > would do things in a more high level proramming language like C or Java, > and you will have some hints. Isn't an internal redirect like a procedure call ? I mean cocoon://pipeline ? ouzo -- __ | / \ | Leszek Gawron // \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ |
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>