List Info

Thread: HTTP Header Information




HTTP Header Information
user name
2006-09-07 19:17:31
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 

-- 
John Kopanas
johnkopanas.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

HTTP Header Information
user name
2006-09-07 19:41:37
On Sep 7, 2006, at 3:17 PM, John Kopanas 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 Stewart : Freelance Web Developer



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---
HTTP Header Information
user name
2006-09-07 21:57:15
ah yes request... I totally forgot about that sexy object
. 
Thanks 

On 9/7/06, James Stewart <jystewartgmail.com> wrote:
>
>
> On Sep 7, 2006, at 3:17 PM, John Kopanas 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 Stewart : Freelance Web Developer
> Work : http://jystewart.net
> Play : http://james.ant
hropiccollective.org
>
>
>  >
>


-- 
John Kopanas
johnkopanas.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )