how can i get the session_id inside application_controller. I am creating helper methods here in this controller to set session and read them later and I am able to read all session variables, cookies etc from the application_controller. The only exception is
session[:session_id] (variations tried - session[:id], session["id"], session["session_id"] and request.session_options[:id])
But none of these provide session_id value.
In my views session[:session_id] works fine. But in the application controller this is just not working.
Any help would be appreciated. I am obviously doing something wrong here.