Gatling for functional tests

Hi,

I am planning to use Gatling for functional tests. I have followed this link: https://gatling.io/docs/2.3/general/functional_specs/
When I extend ‘GatlingHttpFunSpec’, can some one give me an example of how to access session variables?

Thanks,
Sreelakshmi

https://gatling.io/docs/current/http/http_check/#http-check-saving might be useful

https://github.com/gatling/gatling-funspec-demo : example project