W
Welman Jordan
Hello all,
In Session_OnStart, I set a session variable:
Session["LogInTime"] = DateTime.Now;
and
Session.Timeout = 15;
Then the user begin to browse around ASPX pages.
In those pages, Session["LogInTime"] is queried
and displayed, but not modified, and no more
Session variable is created.
About 15 minutes after LogInTime, the session
expires and then the LogInTime get renewed, even
though the user are still hitting ASPX pages.
What can I do to prevent this session from
expiration? (InProc mode)
.....
And by the way, may I ask that whether the same
SessionID is used if the Session is not yet expired
on the client side, but the application on the
server got recycled or restarted? I know that
everything inside the Session variable collection
will be lost, but will the SessionID survive in
this way??
Jordan
In Session_OnStart, I set a session variable:
Session["LogInTime"] = DateTime.Now;
and
Session.Timeout = 15;
Then the user begin to browse around ASPX pages.
In those pages, Session["LogInTime"] is queried
and displayed, but not modified, and no more
Session variable is created.
About 15 minutes after LogInTime, the session
expires and then the LogInTime get renewed, even
though the user are still hitting ASPX pages.
What can I do to prevent this session from
expiration? (InProc mode)
.....
And by the way, may I ask that whether the same
SessionID is used if the Session is not yet expired
on the client side, but the application on the
server got recycled or restarted? I know that
everything inside the Session variable collection
will be lost, but will the SessionID survive in
this way??
Jordan