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. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- 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]>