TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Satyendra Singh Tomar
NA
1
0
I have problems with Session Time-out
Nov 15 2006 5:21 AM
Hi,
I have problems with Session Time-out.
I need my Session to stay for more than an hour. For that, I have done the below things.
a) I have specified the timeout as 60 in the web.config of my application as below:
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="60" />
b) In IIS, web-site's configuration settings also I have changed to 60 minutes.
c) Though its not required, I have also changed the timeout to 60 in machine.config as below:
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10" sqlConnectionString="data source=127.0.0.1;Integrated Security=SSPI" cookieless="false" timeout="60"/>
Even though some times the session time-out is after 25 – 30 minutes and sometimes the session time-out was after more than 54 minutes.
Can any one give me any explanation for this unpredictable behaviour?
How to re-solve this type of situation. I dont want to change the sessionstate's mode other than In-proc.
Please help me in this regard.
Reply
Answers (
2
)
Email Attachments
Server Application Unavailable Error when query returning more datas