Re: [Rails] storing values in session variable vs instance variable

2013-03-19 Thread Norm Scherer
On 03/18/2013 10:37 AM, John Merlino wrote: Is there a good practice when to use the session variable. Sometimes I find myself using both the session variable and instance variable. For example, I have a table that allows a user to select a date. I store the date both in the session and in the

[Rails] storing values in session variable vs instance variable

2013-03-18 Thread John Merlino
Is there a good practice when to use the session variable. Sometimes I find myself using both the session variable and instance variable. For example, I have a table that allows a user to select a date. I store the date both in the session and in the instance variable. Should I not bother to