Michael Kinney
Not a member
Michael Kinney's latest activity
Thursday, September 09 2010
-
Michael Kinney commented at 4:06 PMThis ticket was originally about a problem with cookie store which is fixed now. Since the ticket is marked "resolved" I'm not sure if anyone else will see your...
Tuesday, November 03 2009
-
Michael Kinney commented at 10:09 PMHere are some new tests. Cookie store and memcache store both pass. I can't find any tests for active record store.
Should this be a new ticket, since this one ...
-
Michael Kinney commented at 6:29 PMI haven't tried this yet, but is this basically what you're suggesting?
def reset_session @env['rack.session.options'].delete(:id) empty_session = {} ses...
Monday, November 02 2009
-
Michael Kinney commented at 10:20 PMRe: set_session(@env, generate_sid, session_data.to_hash)
Won't work. Example, for AR store: that will call get_session_model with a sid that doesn't exist, mea...
-
Michael Kinney commented at 10:11 PMThere's no simple way to fix this. My method only works for me because I don't care about the GET, POST, or cookies in the methods where I need reset_session. T...
-
Michael Kinney commented at 8:11 PM@bart - That will test that reset_session supplies a new session ID when a new request comes through. The old (desired) behavior is that a new session ID should...
Thursday, October 29 2009
-
Michael Kinney commented at 6:13 PM@heidmo - I haven't tested your proposed method, but I don't think it will meet requirement #3. The real problem is that reset_session disconnects the session (...
-
Michael Kinney commented at 3:15 PMI agree with Bart and Heidmo. If the desired behavior of reset_session is this:
- Clear the current session
- Assign a new empty session to the request
- Provide a n...
- Clear the current session