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
252 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
  • 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET MVC identity 6 30
i have to take the screenshot of command prompt? how to do this? 1 45
What Does This C# Code Block Do? 5 53
Linq asp.net mvc 13 17
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

789 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