cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@kompuart.pl (Leszek Gawron)
Subject Re: Redirect depending on action?
Date Tue, 23 Jul 2002 07:17:16 GMT
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            //  \\
        \_\\  //_/      ouzo@vip.net.pl          _\\()//_
         .'/()\'.     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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message