From 8f2f920c0fad86bb98c69c37eeb9a5c2c06cf1a3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 23 Jun 2013 11:14:36 +0200 Subject: [PATCH] Added debug info for cookie/session problem. --- app/controllers/sessions_controller.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index c02186678..3cc8564dd 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -31,7 +31,8 @@ class SessionsController < ApplicationController # set session user_id user = User.find_fulldata(user.id) session[:user_id] = user['id'] - + puts "..." + puts session.inspect # check logon session logon_session_key = nil if params['logon_session'] @@ -44,6 +45,9 @@ class SessionsController < ApplicationController ) end + puts ".222.." + puts session.inspect + # return new session data render :json => { :session => user,