Use cache get default value
Use cache get default value
Remove duplicate id check
Fix property order.
Merge pull request #5116 from lucasmichot/4.2-session

[4.2] Session : use cache get default value