Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
268 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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 84

Expert Comment

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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 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