External link pages

Forum Home Forums Uncategorized Issues External link pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6963
    Avatar123abc56
    Participant

    Inspired by the Grafana integration example, I made some data analysis webpages myself, and use external links to embed them to rapid scada views.

    I have notice some behaviors of the view of embedded external link pages. I am new to web development, correct me if i am wrong.

    While close the browser on external link page, it will send a signal to web server to terminate the session.

    While switch from external link page to other page (scada scheme/table/other external link), then close the browser, it would not send signal to web server to terminate the session.

    If a user repeatedly switch between scheme and external link page, it will create multiple session with the web server.

    I let the web server to terminate the inactive session after a period of time as work around now.

    It would be nice if it can send signals to web server to terminate the session when user leave the external link page.

    • This topic was modified 1 week ago by MikhailMikhail.
    #6967
    MikhailMikhail
    Moderator

    Usually all pages of a particular web application are belong to the same session. When you switch to another web page and leave external page, session is alive for some period, for example 20 minutes. If you open the external page again within this period, you use the same session.

    It would be nice if it can send signals to web server to terminate the session when user leave the external link page.

    External page can detect when it’s closed. If you can edit the scripts of the page, you can implement this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.