# Referencing a session prop from a script library?

**URL:** <https://forum.inductiveautomation.com/t/referencing-a-session-prop-from-a-script-library/33314>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 23, 2020, 1:32pm UTC](https://forum.inductiveautomation.com/t/referencing-a-session-prop-from-a-script-library/33314 "2020-03-23T13:32:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lwood](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@lwood](https://forum.inductiveautomation.com/u/lwood)\
**Post date:** [March 23, 2020, 3:32pm UTC](https://forum.inductiveautomation.com/t/referencing-a-session-prop-from-a-script-library/33314/4 "2020-03-23T15:32:11Z")

</div>

So there is nothing to replace Client tags in 8.0? I have almost 100 functions defined in a script library and want to change the database they point to based on the plant selected. I have a session property that does this for everything else but I can’t use it at the beginning of the script library? I would have to pass it into each function separately.

---

_[View the full topic](https://forum.inductiveautomation.com/t/referencing-a-session-prop-from-a-script-library/33314)._
