Skip to content

IIS app pool recycle and session invalid #741

Description

@itg-assistant

Shawn Ramirez asked 2017-03-30 23:37:47 UTC

I have have an application that am playing with that is pretty much a dashboard that will be displayed on a big monitor in a lunch room wall type of situation.  It uses a timer to refresh charts.

Every night when IIS recycles, it kicks me out with an invalid session. I understand why it is doing this because the application pool is shutdown and sessions are lost.

Is there any way for me to set something up so that my application could know that the session went invalid and after 10,20 seconds tried to connect again?

I would think this would have to be client side/javascript but I don't know.

As additional info...

I was thinking I could save what form was showing into a cookie and then when the app came back up, the program.vb would look in the cookie to see what dashboard form to display.

Thanks,

Shawn

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions