Accessing Perspective Session Parameters from WebDev

Hi everyone,

I’m working on an Ignition project where I need to access Perspective session parameters from a WebDev script (Python). I know how to pass parameters to a Perspective view, but I’m not sure how to retrieve those same session parameters from within a WebDev endpoint.

Has anyone successfully done this? Is there a way to get the current Perspective session’s session.custom or page.params data inside a WebDev resource?

Any pointers or example scripts would be greatly appreciated.

Thanks!

For which session? Web dev runs on the gateway, Sessions are completely separate scope. Work out how you will isolate the correct one of the many possible sessions, make it write the session parameters to a tag in the session, then serve the tag values with web dev.

2 Likes