Example code OWASP Session