C
Chris
Hello.
Lifetime of Session-data is specified in web.config.
But what about Application-data?
I have a little testWebApp in which Session-timeout is set to 1 minute
Application["AppData"] = 1;
Session["SessionData"] = 2;
lblAppData.Text = Application["AppData"] != null ?
Application["AppData"]: "Expired"
lblSessionData.Text = Session["SessionData"] != null ?
Session["SessionData"]: "Expired"
refreshing the page after more than 1 minute displays "Expired" for
Session but keeps on showing the Application-data.
So, what determines the lifetime of Application-data?
thx
Chris
Lifetime of Session-data is specified in web.config.
But what about Application-data?
I have a little testWebApp in which Session-timeout is set to 1 minute
Application["AppData"] = 1;
Session["SessionData"] = 2;
lblAppData.Text = Application["AppData"] != null ?
Application["AppData"]: "Expired"
lblSessionData.Text = Session["SessionData"] != null ?
Session["SessionData"]: "Expired"
refreshing the page after more than 1 minute displays "Expired" for
Session but keeps on showing the Application-data.
So, what determines the lifetime of Application-data?
thx
Chris