HTTP Header Information

For the life of me I can’t figure out where the HTTP variables are
stores in the RoR framework. Does anyone know? I am looking more
specificaly for HTTP_REFERER but I would also like to know in general
about the rest.

Thanks :slight_smile:


John K.
[email protected]

On Sep 7, 2006, at 3:17 PM, John K. wrote:

For the life of me I can’t figure out where the HTTP variables are
stores in the RoR framework. Does anyone know? I am looking more
specificaly for HTTP_REFERER but I would also like to know in general
about the rest.

The referrer is in: request.env[‘HTTP_REFERER’]

To explore the rest, try putting

<%= request.inspect %>

in one of your views and look through the output.

James.


James S. : Freelance Web D.
Work : http://jystewart.net
Play : http://james.anthropiccollective.org

ah yes request… I totally forgot about that sexy object :-). Thanks
:slight_smile:

On 9/7/06, James S. [email protected] wrote:

To explore the rest, try putting
Work : http://jystewart.net
Play : http://james.anthropiccollective.org


John K.
[email protected]