Sounds like a job for the little custom tag RETURNFUSEACTION.....it's pretty
neat.
Hopefully this explains it...you basically set the returnfuseaction,
<cfcase value="contact">
<cfif not isdefined("client.userid")>
<!--- set returnfuseaction --->
<cfmodule
template="#fusebox.rootpath#customtags/returnfuseaction.cfm" action="set"
gotourl="#self#?fuseaction=login.showlogin"
returnurl="#self#?fuseaction=#fusebox.thiscircuit#.contact&classified_id=#at
tributes.classified_id#">
<cfelse>
<cfset attributes.pagetitle = "Responding to
classified">
<cfinclude template="dsp_contact.cfm">
</cfif>
</cfcase>
In this case, I make sure a user is logged in to reply to a classified, and
if not, send then off to login...at the end of the login process there is a:
<cfmodule
template="#fusebox.rootpath#customtags/returnfuseaction.cfm"
action="return">
Which returns the user to where they were...
Does that help?
John.
> -----Original Message-----
> From: Larry Juncker [mailto:[EMAIL PROTECTED]]
> Sent: 29 May 2002 20:56
> To: Fusebox (E-mail)
> Subject: How do I route back from a login?
>
>
> I have my site , if someone clicks on this hyperlink:
>
> http://www.mysite.com/index.cfm?fuseaction=addedit.additem
>
> When this hyperlink is clicked, and my SessionAuthenticated
> EQ "no", I get relocated to the login.login fuse to login.
>
> This all works fine.
>
> Where my problem comes in is that once they login, I want
> them to go to where the original link was pointing. In other
> words go to addedit.additem
>
> How do I determine this or get it ?
>
> I hope this isn't as confusing to the GURUs as it is to me.....
>
> Larry Juncker
> Senior Cold Fusion Developer
> Heartland Communications Group, Inc. [EMAIL PROTECTED]
>
> CONFIDENTIALITY NOTICE
> The information contained in this e-mail is intended only for
> the use of the individual or entity to which it is addressed.
> This e-mail may contain information that is privileged,
> confidential, and/or personal. If the reader of this message
> is not the intended recipient (or the employee or agent
> responsible to deliver it to the intended recipient), you are
> hereby notified that any dissemination, distribution, or
> copying of this communication is prohibited. If you have
> received this communication in error, please notify us at the
> email listed above.
>
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by UUNET
> delivered
> through the MessageLabs Virus Control Centre. For further
> information visit http://www.uk.uu.net/products/security/virus/
>
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
==^================================================================
This email was sent to: [email protected]
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================