# why does session.getAttribute not work?

**URL:** <https://community.gatling.io/t/why-does-session-getattribute-not-work/2697>\
**Category:** Gatling (Open-Source)\
**Created:** [December 6, 2015, 7:54pm UTC](https://community.gatling.io/t/why-does-session-getattribute-not-work/2697 "2015-12-06T19:54:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_DAL-PRA](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Pierre\_DAL-PRA](https://community.gatling.io/u/Pierre_DAL-PRA)\
**Post date:** [December 6, 2015, 7:54pm UTC](https://community.gatling.io/t/why-does-session-getattribute-not-work/2697/1 "2015-12-06T19:54:08Z")

</div>

This was removed in Gatling 2, released 1.5 years ago.  
See Session API doc for more info : [http://gatling.io/docs/2.1.7/session/session\_api.html](http://gatling.io/docs/2.1.7/session/session_api.html)
