• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

Question on Sessions in ASP.Net. can a logged in user navigate away form my site and return to the site session with out having to log in again

Can a logged in user navigate away form my site and return to the site session with out having to log in again?
0
bmanmike39
Asked:
bmanmike39
  • 3
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
Yes if your login depends on session data.  The normal way to control sessions is to set a cookie in the user's browser that identifies the session.  The standard session timeout is 30 minutes of no activity.  If the user comes back during that 30 minutes, then the session is still valid And the timeout is reset to 30 minutes again.
0
 
Dave BaldwinFixer of ProblemsCommented:
A note:  Session cookies are designed to expire when the user's browser is closed.  If any windows are still open then the session cookies are still active.  And it doesn't matter if the open window is on your site.  Any still open window will keep the session cookies active.
0
 
bmanmike39Author Commented:
Thank you!
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now