Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2015, 06:25 PM
Authorized User
 
Join Date: Nov 2010
Posts: 63
Thanks: 3
Thanked 0 Times in 0 Posts
Default Automatic Logout when idle

Hi Imar
I created a website with the help of our book. I defined an automatic logout time when the site is idle, but I cannot remember where and how I did it (I have to change the time interval). Where do you write about this in your book?
Thanks
Alex
 
Old August 22nd, 2015, 10:02 PM
Authorized User
 
Join Date: Mar 2015
Posts: 34
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Hey Alex,

I am not much more clear about your question here. But I understood a little here. I think you have set a specific time. And for this a it's logout automatically. Please check it where did you set this.

Regards
 
Old August 22nd, 2015, 10:03 PM
Authorized User
 
Join Date: Mar 2015
Posts: 34
Thanks: 3
Thanked 2 Times in 2 Posts
Default

One thing that is may I visit your site for a while?
 
Old August 23rd, 2015, 03:41 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Alex,

You're looking for the timeout attribute on the <forms> element:

Code:
<authentication mode="Forms">
  <forms timeout="1440" />
</authentication>
More details in Chapter 16, page 598.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check for Threads being Idle? jpscarpa BOOK: Professional C# 5.0 and .NET 4.5.1 0 July 13th, 2015 08:39 AM
User idle Time jomet C# 2005 2 January 7th, 2009 08:35 AM
Track of another idle process in VB program simplyAns Pro VB 6 1 December 15th, 2006 02:41 PM
logout TIME and logout DATE crmpicco Classic ASP Databases 2 January 20th, 2005 12:01 AM
logout TIME and logout DATE crmpicco Classic ASP Basics 0 January 19th, 2005 07:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.