Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 13th, 2006, 04:58 AM
Authorized User
 
Join Date: Mar 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session inactivity

Hi

I am running my whole site accordign to this book.

For the admin pages, I want the admin user to remain logged in to the system for atleast 1 hour.

In the web.config, I have set the session to 60 minutes:

<sessionState
            mode="InProc"
            cookieless="false"
            timeout="60"
    />

However, it seesm that the system logs out the user after 5 minutes of inactivity.

Any idea how to resolve this issue?

Thanks

  #2 (permalink)  
Old July 15th, 2006, 07:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Session State is not related to Forms security. Find the tag that controls the Forms security cookie.

Eric

  #3 (permalink)  
Old April 2nd, 2007, 11:28 PM
Authorized User
 
Join Date: Jun 2006
Location: Hyderabad, Andhrapradesh, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You mean the authentication tag in which you specify forms authentication mode and timeout? If yes, I have tried there also, but it doesnt seem to work.

I have set the timeout as 120 minutes, but session is getting expired after 20 minutes of inactivity.

  #4 (permalink)  
Old April 4th, 2007, 08:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What is IIS set for - Website, Home directory, Configuration, Options, Session timeout?

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a inactivity form thunder4990 BOOK: Access 2003 VBA Programmer's Reference 0 March 12th, 2008 09:55 AM
Session nook ASP.NET 1.x and 2.0 Application Design 1 July 19th, 2007 02:45 PM
Session MunishBhatia ASP.NET 2.0 Professional 1 April 30th, 2007 02:32 AM
session and cookie problem (empty session file) msincan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 27th, 2005 05:31 PM
session nav Beginning PHP 3 August 19th, 2004 02:11 PM



All times are GMT -4. The time now is 10:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.