473,405 Members | 2,272 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,405 software developers and data experts.

SQL Server Session State ignoring Timeout value

I have and ASP.Net 2.0 application I've set the session state to use
SQL Server and I modified the Timeout setting to be 60 minutes.
However, my session is still expiring in 20 minutes. Looking in the
database this is the value for all sessions. The session settings look
as follows:

<sessionState mode="SQLServer" sqlConnectionString="data
source=servername;User ID=user;Password=password;" timeout="60">
</sessionState>

Is there somewhere else that I need to set the timeout value?

Thanks,

Jeff

Oct 20 '06 #1
2 2121
Making a wild guess...do you use forms authentication? If so, did you
change the timeout value?

HTH

Jarf wrote:
I have and ASP.Net 2.0 application I've set the session state to use
SQL Server and I modified the Timeout setting to be 60 minutes.
However, my session is still expiring in 20 minutes. Looking in the
database this is the value for all sessions. The session settings look
as follows:

<sessionState mode="SQLServer" sqlConnectionString="data
source=servername;User ID=user;Password=password;" timeout="60">
</sessionState>

Is there somewhere else that I need to set the timeout value?

Thanks,

Jeff
Oct 20 '06 #2
No forms authentication. But thanks for the response.
xAvailx wrote:
Making a wild guess...do you use forms authentication? If so, did you
change the timeout value?

HTH

Jarf wrote:
I have and ASP.Net 2.0 application I've set the session state to use
SQL Server and I modified the Timeout setting to be 60 minutes.
However, my session is still expiring in 20 minutes. Looking in the
database this is the value for all sessions. The session settings look
as follows:

<sessionState mode="SQLServer" sqlConnectionString="data
source=servername;User ID=user;Password=password;" timeout="60">
</sessionState>

Is there somewhere else that I need to set the timeout value?

Thanks,

Jeff
Oct 21 '06 #3

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

Similar topics

5
by: Frank | last post by:
Our system maintains session state using the ASP.NET State Server service. We expect some of our session state objects to be over 85K, which categorizes them to be VLO's (very large objects) in terms...
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
2
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the...
2
by: jakk | last post by:
Iam storing the session state in SQL Server. The Session gets stored in the SQL Server temp tables ( I can see some values in the two tables), but the session doesnt seem to timeout. We have a...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
0
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
2
by: Tomas Martinez | last post by:
Hi, Well, my problem is so simple as it says in the subjet but very frustrating also. I have a project and it is losing the session variables with each postback, so I downloaded from the web a...
4
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
1
by: MG | last post by:
can any one please guide me about storing session cookies using a state server. and if client has cookies turned off then will the state server store the session cookies. excuse me , if i am too...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
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...

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.