473,698 Members | 2,943 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session/Login still times out at 20 minutes even after changing defaults

Hello! I've got a problem with an ASP.NET app...

The app is running in conjunction with the Session State server, and they
both run on the same machine.

I've changed the default timeouts in my Web.config file to be
timeout="120" for 120 minutes, but the users still time out (and thus
have to re-login) after 20 minutes.

Has anyone else had this sort of problem?

Andy, gr***@ids.net
Nov 18 '05 #1
3 1411
Oh yeah, I forgot the most important part; when running the app, I wrote a
quick page to display the session.timeout and it shows 120, which is what I
set it to - yet it still times out at 20 minutes...
"Andy Green" <gr***@ids.net_ DEL_FOR_REAL_AD DR> wrote in message
news:uc******** ******@TK2MSFTN GP09.phx.gbl...
Hello! I've got a problem with an ASP.NET app...

The app is running in conjunction with the Session State server, and they
both run on the same machine.

I've changed the default timeouts in my Web.config file to be
timeout="120" for 120 minutes, but the users still time out (and thus
have to re-login) after 20 minutes.

Has anyone else had this sort of problem?

Andy, gr***@ids.net

Nov 18 '05 #2
Are you using Forms Authentication? Check the timeout setting for that?
"Andy Green" <gr***@ids.net_ DEL_FOR_REAL_AD DR> wrote in message
news:e3******** ******@TK2MSFTN GP11.phx.gbl...
Oh yeah, I forgot the most important part; when running the app, I wrote a quick page to display the session.timeout and it shows 120, which is what I set it to - yet it still times out at 20 minutes...
"Andy Green" <gr***@ids.net_ DEL_FOR_REAL_AD DR> wrote in message
news:uc******** ******@TK2MSFTN GP09.phx.gbl...
Hello! I've got a problem with an ASP.NET app...

The app is running in conjunction with the Session State server, and they both run on the same machine.

I've changed the default timeouts in my Web.config file to be
timeout="120" for 120 minutes, but the users still time out (and thus have to re-login) after 20 minutes.

Has anyone else had this sort of problem?

Andy, gr***@ids.net


Nov 18 '05 #3
there is also the
idleTimeout

which must be set appropriately as well, This causes the session to time out
if the app is sitting idle for the specified period of time.

--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"George Durzi" <gd****@hotmail .com> wrote in message
news:eO******** ******@TK2MSFTN GP10.phx.gbl...
Are you using Forms Authentication? Check the timeout setting for that?
"Andy Green" <gr***@ids.net_ DEL_FOR_REAL_AD DR> wrote in message
news:e3******** ******@TK2MSFTN GP11.phx.gbl...
Oh yeah, I forgot the most important part; when running the app, I wrote
a
quick page to display the session.timeout and it shows 120, which is
what I
set it to - yet it still times out at 20 minutes...
"Andy Green" <gr***@ids.net_ DEL_FOR_REAL_AD DR> wrote in message
news:uc******** ******@TK2MSFTN GP09.phx.gbl...
Hello! I've got a problem with an ASP.NET app...

The app is running in conjunction with the Session State server, and

they both run on the same machine.

I've changed the default timeouts in my Web.config file to be
timeout="120" for 120 minutes, but the users still time out (and thus have to re-login) after 20 minutes.

Has anyone else had this sort of problem?

Andy, gr***@ids.net




Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7784
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains: ---------------------------------------------------------------------------- <?php ini_set("session.use_cookies", "off"); ini_set("session.use_trans_sid", "on"); session_start(); $_SESSION = ""; $_SESSION = ""; echo "<form method='POST' action='login.php'>
1
2882
by: lsf_80 | last post by:
I am using Session to capture my login name and this session is checking on every page that required login. However, there is a problem that the session is expired too fast! When i jump to another windows, then go back to the page that i have developed, the user is required to login again even less than 5 minutes. Thus, how can i solve this problem? This is because i can't find any problem in my code and i don't know how could this...
8
2831
by: Amith Singh | last post by:
When the sessions times out I would like to take the user to the login page. Currently even though session times out user will come to know only when he clicks on the screen. How to direct the user automatically to login page once the session times out. I am using .Net Framework 1.1. and IIS 5 Amith
4
2146
by: JIsenstadt | last post by:
I would appreciate it if anybody can help with a issue I am having in an ASP.NET application that is timing out before a process has been completed. The scenario ASP.NET application under IIS 5 runs a crystal report (which has a lot of complex formatting) and returns over 6,000 pages. The time to export this report to PDF using Crystal Reports Directly on the server is 83 minutes. But when the export to PDF is done through the Web...
12
6980
by: ACaunter | last post by:
Hi all, I was wondering how i could write some code which would automatically open the Login Page once the session has expired? -- AdamPC@hotmail.com
1
1545
by: Shahar Nechmad | last post by:
I'm using ASP.NEt 2.0. I use the session to save important information about the user current session (for example the current project he is working on). I use those variables in almost every web page in the application. When a user session times out, I want to be able to make the user to relogin and continue working with the application. 1. Is there easy way to catch an even just before the session times out? Or to prelong a session (so...
25
6082
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
43
3416
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
9
7806
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept in sessions? I can see active sessions in my mysql database, but is that the only place this information is stored? Sessions and cookies I know are related also, but how specifically (session info stored in cookies?)? Right now, when users...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.