# WebDev Questions

**URL:** <https://forum.inductiveautomation.com/t/webdev-questions/21787>\
**Category:** Ignition Early Access\
**Created:** [January 10, 2019, 7:41am UTC](https://forum.inductiveautomation.com/t/webdev-questions/21787 "2019-01-10T07:41:46Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 25, 2019, 2:08pm UTC](https://forum.inductiveautomation.com/t/webdev-questions/21787/10 "2019-01-25T14:08:13Z")

</div>

Webdev scripts can call project and script modules like any other event script can. Project script module globals are persistent between project save events, or any designer that saves global (shared) scripts. You can see “restarting scripts” in the gateway log when this happens. Script modules that hold state in global variables should have some top-level code to initialize them. Consider using [system.util.getGlobals()](http://forum.inductiveautomation.com/t/python-script-initialization/20748/7) to gain access to a dictionary that lives longer.

---

_[View the full topic](https://forum.inductiveautomation.com/t/webdev-questions/21787)._
