# Re: Cookies

**URL:** <https://www.ruby-forum.com/t/re-cookies/97760>\
**Category:** Radiant CMS\
**Created:** [July 10, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/re-cookies/97760 "2006-07-10T14:19:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timperrett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Post date:** [July 10, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/re-cookies/97760/1 "2006-07-10T14:19:03Z")

</div>

Ok cool, am I being dumb but where is the Behavior::Base#process  
located??!

Cheers

Tim

* * *

Date: Thu, 06 Jul 2006 15:24:49 -0500  
From: “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Radiant] Cookies  
To: removed\_email\_address@domain.invalid  
Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Tim P. wrote:

> Just thinking about doing something… If I had a radient site, which I do,  
> how could I then do something dynamic based on a cookie value, I guess I  
> would have to build some radius tag or a behaviour to handle it wouldn’t I?

A behavior might be a good way to handle this. Using behaviors you can  
access the same request and response objects that ActionController has  
access to. Take a look at Behavior::Base#process to see how it works.

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

* * *

This e-mail has been scanned for all viruses by Star. The  
service is powered by MessageLabs. For more information on a proactive  
anti-virus service working around the clock, around the globe, visit:  
[http://www.star.net.uk](http://www.star.net.uk)

---

<div class="post-metadata">

**Author:** ![timperrett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Post date:** [July 10, 2006, 2:36pm UTC](https://www.ruby-forum.com/t/re-cookies/97760/2 "2006-07-10T14:36:54Z")

</div>

Tim P. wrote:

> Ok cool, am I being dumb but where is the Behavior::Base#process  
> located??!

Line 46 of behavior.rb.

–Al Evans
