# Session variables scope when feeding with users

**URL:** <https://community.gatling.io/t/session-variables-scope-when-feeding-with-users/2997>\
**Category:** Gatling (Open-Source)\
**Created:** [May 13, 2016, 1:22pm UTC](https://community.gatling.io/t/session-variables-scope-when-feeding-with-users/2997 "2016-05-13T13:22:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Manuel\_Vega\_Mon](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Jose\_Manuel\_Vega\_Mon](https://community.gatling.io/u/Jose_Manuel_Vega_Mon)\
**Post date:** [May 13, 2016, 1:22pm UTC](https://community.gatling.io/t/session-variables-scope-when-feeding-with-users/2997/1 "2016-05-13T13:22:03Z")

</div>

Hi there,

Which is the session variables scope when feeding with users?

Are these values only ready to use in http()?

I’m trying to use in class variable when creating an instance of class, but there it looks variable is not ready to use with EL.

For example:

**class Handler {**

**val url = "$URL"**

**}**

Thanks

---

<div class="post-metadata">

**Author:** ![Jose\_Manuel\_Vega\_Mon](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Jose\_Manuel\_Vega\_Mon](https://community.gatling.io/u/Jose_Manuel_Vega_Mon)\
**Post date:** [May 13, 2016, 3:06pm UTC](https://community.gatling.io/t/session-variables-scope-when-feeding-with-users/2997/2 "2016-05-13T15:06:27Z")

</div>

Ok, I’m mixing Gatling EL with Scala code.

🙂
