# OT: Ruby & Sessions

**URL:** <https://rubytalk.org/t/ot-ruby-sessions/56136>\
**Category:** ruby-talk\
**Created:** [9 November 2009 06:32 UTC](https://rubytalk.org/t/ot-ruby-sessions/56136 "2009-11-09T06:32:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ralph\_Shnelvar](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Ralph\_Shnelvar](https://rubytalk.org/u/Ralph_Shnelvar)\
**Post date:** [9 November 2009 06:32 UTC](https://rubytalk.org/t/ot-ruby-sessions/56136/1 "2009-11-09T06:32:03Z")

</div>

Although I've been programing for 45 years, I am new to both Ruby and  
web programming.

I have been reading the Ruby on Rails book and I'm totally lost about  
session data.

I understand that each request is stateless.

Can any recommend an overview of GET/POST, cookies, sessions, etc.,  
and how Ruby on Rails interacts with all of this?

- - -

How does a huge website (e.g. Amazon) maintain session data? Where  
does it keep the user/session-specific data? Does it make sense to  
somehow tie the session data to a user name/id/password?

I'm so confused.

---

<div class="post-metadata">

**Author:** ![Marnen\_Laibow-Koser](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@Marnen\_Laibow-Koser](https://rubytalk.org/u/Marnen_Laibow-Koser)\
**Post date:** [9 November 2009 11:52 UTC](https://rubytalk.org/t/ot-ruby-sessions/56136/2 "2009-11-09T11:52:05Z")

</div>

Ralph Shnelvar wrote:

> Although I've been programing for 45 years, I am new to both Ruby and  
> web programming.
> 
> I have been reading the Ruby on Rails book and I'm totally lost about  
> session data.
> 
> I understand that each request is stateless.
> 
> Can any recommend an overview of GET/POST, cookies, sessions, etc.,  
> and how Ruby on Rails interacts with all of this?
> 
> - - -
> 
> How does a huge website (e.g. Amazon) maintain session data? Where  
> does it keep the user/session-specific data? Does it make sense to  
> somehow tie the session data to a user name/id/password?
> 
> I'm so confused.

This is a question for the Rails list. It is off topic for the main  
Ruby list

Best,

> **···**
>
> --  
> Marnen Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> marnen@marnen.org  
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Ralph\_Shnelvar](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Ralph\_Shnelvar](https://rubytalk.org/u/Ralph_Shnelvar)\
**Post date:** [9 November 2009 12:53 UTC](https://rubytalk.org/t/ot-ruby-sessions/56136/3 "2009-11-09T12:53:45Z")

</div>

Marnen,

> This is a question for the Rails list. It is off topic for the main  
> Ruby list

Could you point me at that list, please.

Ralph

---

<div class="post-metadata">

**Author:** ![Brian\_Candler](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Brian\_Candler](https://rubytalk.org/u/Brian_Candler)\
**Post date:** [9 November 2009 13:10 UTC](https://rubytalk.org/t/ot-ruby-sessions/56136/4 "2009-11-09T13:10:56Z")

</div>

Ralph Shnelvar wrote:

> \> This is a question for the Rails list. It is off topic for the  
> main  
> \> Ruby list
> 
> Could you point me at that list, please.

Go to [www.rubyonrails.com](http://www.rubyonrails.com)

Click on "community"

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
