[Cookbook][Session] Fix session proxy sample code
Merge pull request #3200 from bicpi/fix_code_example

[Cookbook][Session] Fix session proxy sample code