Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 April 2nd, 2007, 04:46 AM
Authorized User
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session Time out before actual timeout period

Hi,
Iam facing a very strange session timeout problem.

I have set the session time out period as 120 minutes in the web.config, global.asax and also in the IIS.

But still the session is getting expired after 20 minutes(which is the default timeout period).

Iam going mad as to why is this happening???

Could anyone help me in solving this mystery??
__________________
Intellectuals solve problems but Genious avoid problems.
 
Old April 4th, 2007, 04:45 AM
Authorized User
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all,

I got the solution to my problem.

Solution is:

Take out the code from the sessionstart event in global.asax

(Session.timeout=30)//remove this from global.asax.


Intellectuals solve problems but Genoius avoid problems.





Similar Threads
Thread Thread Starter Forum Replies Last Post
The timeout period elapsed prior to obtaining a co abinashpatra ASP.NET 1.0 and 1.1 Professional 0 July 4th, 2008 12:17 AM
Session timeout... rupen Classic ASP Professional 1 January 3rd, 2007 09:35 AM
How do I execute a code every X period of time? Master_D PHP How-To 3 June 8th, 2004 10:10 AM
Session Timeout lcsgeek Classic ASP Basics 1 October 6th, 2003 01:53 PM
Calculate time period dtaya Access 1 July 26th, 2003 07:26 AM





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