# Working with flash\[\] in behaviors?

**URL:** <https://www.ruby-forum.com/t/working-with-flash-in-behaviors/67734>\
**Category:** Radiant CMS\
**Created:** [September 6, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/working-with-flash-in-behaviors/67734 "2006-09-06T13:33:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![b0rdslide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@b0rdslide](https://www.ruby-forum.com/u/b0rdslide)\
**Post date:** [September 6, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/working-with-flash-in-behaviors/67734/1 "2006-09-06T13:33:52Z")

</div>

Hi,

My radiant site is probably a bit different to the majority in that I  
have quite a few places where user interaction is taking place outside  
of the admin area. Most of these have been coded using behaviors at the  
moment but I’m finding that increasingly I want to use the flash[]  
variables to show errors and notices. Is it possible to access these  
variables and possibly write a radius tag that provides access to them?

Thanks,  
Kev

---

<div class="post-metadata">

**Author:** ![b0rdslide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@b0rdslide](https://www.ruby-forum.com/u/b0rdslide)\
**Post date:** [September 6, 2006, 2:31pm UTC](https://www.ruby-forum.com/t/working-with-flash-in-behaviors/67734/2 "2006-09-06T14:31:51Z")

</div>

Kevin A. wrote:

> My radiant site is probably a bit different to the majority in that I  
> have quite a few places where user interaction is taking place outside  
> of the admin area. Most of these have been coded using behaviors at the  
> moment but I’m finding that increasingly I want to use the flash[]  
> variables to show errors and notices. Is it possible to access these  
> variables and possibly write a radius tag that provides access to them?

I think that to do that you would need access to the controller (which  
you don’t have). (Although isn’t the flash stored in the session object?  
You have access to that on the request.)

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)
