search for: _xxx_session_id

Displaying 1 result from an estimated 1 matches for "_xxx_session_id".

2007 Sep 17
0
keep sessions while switching domains
...e loose the session, that was previously used and I was not able to restore my old session. I was trying to send the old session id via the url and then reuse it by setting it again like this: redirect_to :host => ''127.0.0.1:3000'' , :session_key => request.cookies[''_xxx_session_id''][0] unless (request.env[''HTTP_HOST''] == ''127.0.0.1:3000'') cookies[:_xxx_session_id] = params[:session_key] This failed since rails seems to regenerate a new session id somehow at a later stage. The new session cookie will have this newly generated id....