Generalized error shared partial
Added session timeout