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
235 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 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
Thank you!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
You're welcome!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now