Solved

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

Posted on 2014-07-18
4
257 Views
Last Modified: 2014-07-19
Can a logged in user navigate away form my site and return to the site session with out having to log in again?
0
Comment
Question by:bmanmike39
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40205966
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
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40205968
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
 

Author Closing Comment

by:bmanmike39
ID: 40206307
Thank you!
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40206516
You're welcome!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question