[Rails] Re: Re: Re: Session record not getting deleted

2014-08-25 Thread Frederick Cheung
On Sunday, August 24, 2014 5:33:00 PM UTC+1, Ruby-Forum.com User wrote: > > Colin Law wrote in post #1155762: > > 4. When someone logs out, I clear the value and call reset_session. > Again I see the sql record has the "data" variable with changed value. > > session[:user_id] = nil >

Re: [Rails] Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Colin Law
On 24 August 2014 17:32, Bharath Neo wrote: > Colin Law wrote in post #1155762: >> On 23 August 2014 06:32, Bharath Neo wrote: >>> The problem is that I want to hold sessions who have not logged out. And >>> clear sessions who have not logged in. Sessions are created >>> automatically by rails wh

[Rails] Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Bharath Neo
Colin Law wrote in post #1155762: > On 23 August 2014 06:32, Bharath Neo wrote: >> The problem is that I want to hold sessions who have not logged out. And >> clear sessions who have not logged in. Sessions are created >> automatically by rails when the login page loads itself. > > Sorry, don't un