You can do set client and session vars on a page with a cflocation just use
addtoken="yes" in cflocation tag.
Regards,
Amit Talwar
-----Original Message-----
From: Brook Davies [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:17 AM
To: Fusebox
Subject: Re: cf_messages
Can anyone confirm that you can not set client vars on a page with a
<cflocation>. I was under the impression that this was possible. Thanks.
Brook Davies
Maracasmedia Inc.
At 01:10 PM 10/05/01 -0600, you wrote:
>I wrote my first custom tag and thought I'd share mostly because it is my
>first tag and I'm excited by it!
>http://devex.allaire.com/developer/gallery/info.cfm?id=786B5608-424D-11D5-8
3
>F400508B94F380&method=full
>This is a cold fusion custom tag that serves several functions.
>The first need it address is to act as a messaging system for a website. On
>my projects I have been using it to display confirmation and error messages
>when a user completes an action. This is accomplished completely with WDDX
>and client variables.
>Next it fixes a problem with the cflocation function in cold fusion. You
can
>not set client variables if you use the cflocation tag. You can send a
>REDIRECT variable to cf_messages and it will perform the redirect while
>still allowing for you to set the client variables.
>Finally if you use a FuseBox style methodology chances are pretty good that
>you will end up redirecting to the same url in your application at some
>point. Netscape does not like this and will load a redirectloop error.
>cf_messages resolves this by appending a random number to the url if the
>browser is netscape.
>
>Thanks for listening,
>
>Kevin Bridges
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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