473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Timeout not working as specified in Web.config

Hello,

I've set the timeout to 720 in the web.config file (see detila below).
However, the page elapses after 20 minutes and the login screen is displayed
again. Is there anything else that needs to be set or taken care of? Your
help is appreciated.

<system.web>
<sessionState mode="InProc" cookieless="false" timeout="720"/>

<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="720">

<providers>

<remove name="AspNetSqlProvider"/>

<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ConnectionString" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
passwordFormat="Hashed" applicationName="/"/>

</providers>

</membership>

</system.web>

Thanks,
Felix.J
Apr 7 '06 #1
1 1479
Hi Felix,

Thank you for posting.

Regard on the timeout of the forms authentication ticket problem, is it a
common problem among all the ASP.NET application on that server, also, is
this a machine specific issue? Also, since forms authentication ticket is
stored in client cookie by default, you can turn on the ASP.NET page trace
on the page to check whether the cookie is always persisted correctly
during the lifetime of the user's login time.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 9 '06 #2

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

Similar topics

4
by: Microsoft Centre Of Excellence | last post by:
If i have an ASPX page that is just sleeping for 3 minutes ormore and later does some processing and the ExecutionTimeout parameter in the machine.config is 90 seconds then the page does not...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
4
by: BillGatesFan | last post by:
I set the session timeout to 45 in my web.config. But it is still timing out at 20 minutes. What I'm I doing wrong? Thanks
8
by: bashful.belle | last post by:
I'm using Forms authentication and a non persistent cookie in my asp.net application. How do i get the cookie to time out after a period of inactivity, say 10 minutes, and force the user to login...
2
by: Aryan | last post by:
Hi, I have put my session related parameter in web.config under system.web, given below is the code for same. <system.web> <sessionState timeout ="1440" mode ="InProc" /> </system.web> this...
3
by: Andrew Robinson | last post by:
Is there any way to dynamically set the timeout while using forms based authentication? I want to change this value depending on the type of user that logs into my system. I understand that this...
25
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
4
by: =?Utf-8?B?UGF1bG8gRmxvcsOqbmNpbw==?= | last post by:
Hello, I have a web application in aspx and vb.net 2003. The users are complaining about session timeout (10 - 60 minutes). My web config file is set up as: - <authentication mode="Forms">...
3
by: jbhabion | last post by:
Hello, I am developping some webpages where our PDA-user can access some company information. Our webserver has asp.net 1.1 installed. Users can login and access the information, after a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.