One option is to use the BodyContent tag to trap the content, THEN do the
menus. Kinda backwards, but you can do this:
<cf_bodyContent>
Process Fuseaction, generate content, etc.
</cf_bodyContent>
Generate Menus
output header
output generated content from above
output footer
This just lets you postpone the menu generation until after you've performed
some action.
Does this help?
-Dustin
> -----Original Message-----
> From: Michael 'Maxx' Porter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 11:03 AM
> To: Fusebox
> Subject: CFCookie and Location
>
>
> I know that these cannot be used on the same page. My question
> is how can
> I refresh the menu after the user logs in?
>
>
> rough code flow follows
>
> index.cfm
> <include head>
> Switch to log in form
> Switch to log in action
> Switch to other actions
> <include foot>
>
> log in form .cfm
> input username
> input pass
> checkbox remember me
>
> log in form action.cfm
> if remember me
> cfcookie
> request
> else
> request
> end if
> cfinclude welcome back page
>
>
> The problem with this is the menu does not refresh when the use logs in
> until they click on a link to go to a page. How can I
> restructure the fuse
> so that it will do this? I have looked at Steves returnaction and the
> fusebox login and admin I do not understand the full logic yet.
>
> I am open to restructuring the box if that is the best solution.
>
>
>
> End
> ***********************************************************
> Friendship is born at that moment when one
> person says to another: What! You, too?
> Thought I was the only one.
>
> -Clive Staples Lewis, novelist
> and essayist (1898-1963)
> ***********************************************************
> Michael "Maxx" Porter
> Vice President
> Paradox Studios Inc.
> 847-869-3673
> mailto:[EMAIL PROTECTED]
> http://www.theparadox.com
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists