Fixed session persistence