I am no expert, but I did ask this question and I did get some help so I
will share what I have learned.

Say you have a template that checks for a login and if they have not logged
in, it will send them to a login, but then we want them to return to where
they where.  Here is what you do.  In the first checking template you use it
like this.
First notice the action is SET
Second you can either hard code the returnurl or you can use it like below.
This can be the page your on, or another page depending on how you need to
use it.
Third is the gotourl - this is the page that needs to have the other half of
this tag because that's where it's going.
<cf_returnfuseaction
        action="set"
        returnurl="#attributes.returnurl#"
        gotourl="#request.webroot#/index.cfm?fuseaction=somefuseaction">

Now the other half.
It can be that simple.... once the action or what ever has happened, it then
will go back to the returnurl that you set in the first tag.  One more thing
you can set in this tag is a defaulturl which is where it will go if there
was not a returnurl set in the step above.
<cf_returnfuseaction
        action="return">


Well I hope that helps some.

Bill



> -----Original Message-----
> From: Russell Jones [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 18, 2000 12:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: returnfuseaction
>
>
> Yeah ... me too. I'm having a little hang-up on that same tag.
>
> -Russ
> [EMAIL PROTECTED]
>
> > From: "Matthew Walker" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Fri, 18 Aug 2000 15:49:44 +1200
> > To: "Fusebox" <[EMAIL PROTECTED]>
> > Subject: returnfuseaction
> >
> > I really just don't get how to implement this tag. Could
> somebody point me
> > in the direction of a really simple example (perhaps in the
> fusebox.org code
> > or where ever). I feel like I need it, but it's not getting thru to me!
> >
> >
> > Regards,
> > Matthew Walker
> >
> >
> ------------------------------------------------------------------
> ------------
> > To Unsubscribe visit
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> > send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the
> > body.
> >
>
> ------------------------------------------------------------------
> ------------
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fu
> sebox or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to