Need help with session

hi,

im having a hard time to see thru here:
after login , i see a different session_id then then one i saw on the
login-view. but what throws me off is, that i do store the sessionid
in the db here:
def after_sign_in_path_for(resource)
end
section of the application-controller. problem is that the values is
always the one from the ‘old’/previous session.

any ideas?
im a bit lost right now

thx