# Creating one gateway with 4 identical sessions except for one property

**URL:** <https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 16, 2021, 5:21pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471 "2021-02-16T17:21:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [February 16, 2021, 5:21pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/1 "2021-02-16T17:21:39Z")

</div>

I have a gateway I am creating which has four separate but identical ‘cells’. Each cell will have its own set of tags based on four different plcs. I want to essentially create one cell UDT for each cell with the only difference between these UDTS being the cell designation (eg. C2, E4). Each cell will have its own perspective session running from that one central gateway. What is easiest way to create these four sessions/clients using that cell designation? Would I have to create some sort of session property, have that session property relate to the different cells, and then use that session property to in tag bindings throughout the session?

---

<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:** [February 16, 2021, 5:31pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/2 "2021-02-16T17:31:36Z")

</div>

> [@michael.black](#):
>
> Would I have to create some sort of session property, have that session property relate to the different cells, and then use that session property to in tag bindings throughout the session?

Precisely. Call this string property "tagpath" and everyone else around here will understand you, too.

---

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [February 16, 2021, 5:59pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/3 "2021-02-16T17:59:33Z")

</div>

Thanks! tagpath makes sense for sure.

I did notice in project properties the following

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/c/acaa9124159b94221e6737fa598bb6de2fb5ac51.png) .

I am essentially taking an existing vision project and using that as a base for the perspective project. This vision project had two “cells” which were not identical but pretty similar. Would this default provider essentially be my session property I could use? What exactly does this default provider do? In this case I have two folders with similar tags, one called C2 and one called xD. Lets say most of the tags start with Cell/… And I have tags using Cell/… Would I actually need to include the [C2] for the tag path or since it would only be looking at similar tags within this C2 folder (compared to xD folder) this tag provider would be a built in way to reference the different cells?

---

<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:** [February 16, 2021, 6:33pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/4 "2021-02-16T18:33:50Z")

</div>

I would design the project’s views to expect the supplied tagpath to contain the provider prefix, too.

---

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [February 16, 2021, 7:19pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/5 "2021-02-16T19:19:28Z")

</div>

Thanks. I tried finding this property and couldn’t access it. Where can I find this if I were to include this in an indirect tag binding? Also related to session properties this same project I am converting from vision to perspective has vision client tags.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/8/08cee44426470d00015f2f0f9f09434a00281f51.png)  
Would these be considered the same as perspective session tags/properties and how would I create these in perspective?

---

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [February 16, 2021, 7:50pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/6 "2021-02-16T19:50:14Z")

</div>

I did see where you can create custom session properties. Here is an example of what I think you mean about including it in the indirect tag path.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4eca53a6446a78e21a4f4aceeadfd7181de229a7.png)

This what you meant? Thanks.

---

<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:** [February 16, 2021, 8:20pm UTC](https://forum.inductiveautomation.com/t/creating-one-gateway-with-4-identical-sessions-except-for-one-property/43471/7 "2021-02-16T20:20:41Z")

</div>

No, I would make it an input parameter property on your view. Include that in your indirect binding.
