Connect Sessions through iframe

Hi,
I want to create a perspecive app where i am embeding another perspecive project using a Inline frame.
I have two questions:

  1. is it possible that the sessions of these two projects are linked to each other or that they are sharing only one session and can exchange data with each other
  2. how long does a session exist when is a session closed and removed from the server?
  1. Projects do not share sessions. If they both use the same Identity Provider, that Identity provider might offer seamless single sign-on.

  2. Session expiration is configurable. (In project properties, IIRC.)

Alright thanks for the answer. since they cant share a session is there any way to share data accross these two projects?

So i can send data from the main project to the project displayed in the inline frame and the other way around.

2 Likes

You really should reconsider this. It will be a nightmare to maintain. Why do you need separate projects?

3 Likes

We have a lot of views in our project and this project contains a lot of different topics like mes part management reports and so on. And now it became a bit to much so we started changing our project structure. We are spliting the different topics in seperate projects and want to make them accessible over a main project like a hub where you can select a app to open. If you have any other ideas i am open for ideas.

Instead of having an outer frame project, you might be able to put the "frame" into an inheritable project and inherit it to use as a dock in all your inner projects. It sounds like it's just for navigation so this way you can keep the parts isolated except for the shared navigation dock, which you can update in one place.

Okay here the main idea:

  • A App_Hub Project which has a list of apps like on a smartphone
  • these apps are the different topics(MES, TR, Part, Report, ...)
  • when a app is selected it openes the project in the inline frame

Why open it in a inline frame and not use navigate?

  • when we use inline frame instead of navigate. We can go back to the app list and select other apps while using navigate jumps to another page and removes the possibility to go back and select another app.

I hope these thoughts are understandable.

With what I am proposing, all your projects would also have the same inherited dock so you could jump to any project at any time.

One project. Shared docked view for navigation. All pages will show the navigation unless you deliberately override it on a page-config by page-config basis.

Use pages instead of separate projects. Full stop.

2 Likes

Ahh okay thanks that may be worth a try

Yeah thanks ai will try it