create session location and java session only if info is set on the session location