I know you can't set cookies beacuse them both write to the header. Not sure about client vars I guess you can't with them if they are are stored in cookies.
Shawn Regan Applications Developer Pacific Technology Solutions
-----Original Message----- From: Brook Davies [mailto:brook@maracasmedia.com] Sent: Thursday, May 10, 2001 3:47 PM 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/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists