Here is the solution to the CFCOOKIE/CFLOCATION bug in case this solves your
problem. The only difference is that you are manually writing the content to
the HTTP header rather than relying on the CFLOCATION tag to handle it for
you.
<CFCOOKIE NAME="someName" VALUE="someValue">
<CFHEADER NAME="Refresh" VALUE="0; URL=someURL.cfm">
By the way, this excerpt was taken from the Team Allaire Web site.
Benjamin S. Rogers
Web Developer, c4.net
voice: (508) 240-0051
fax: (508) 240-0057
-----Original Message-----
From: Michael 'Maxx' Porter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 1:03 PM
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