473,503 Members | 11,783 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatic Session timeout - sporadically

Hi,

I am facing a very strange problem with my web sever which had been running
fine until few days back when users started complaining that the session is
expiring automatically.

When the users are logged into the web site and actually doing some
activity, they are gettign logged out automatically. I suspect this is a
session timeout problem. I tried to restart IIS server also done a
hard-booting of the server, but the probem still remains.

This is happening sporadically and has not set duration within which the log
out is happening. Has anyone has gone through such a situation. It woud be
great if I could get any inputs from the experts.

I am using windows 2000, with IIS 5.0. Web app. is developed in ASP.net and c#

thanks
pradeep_tp

Nov 19 '05 #1
2 1390
I have had a similar problem.

I had a user control with a button that dynamically created a web link with
a query string. When the button was clicked it did the postback, then did a
Response.Redirect to the generated URL. When it go this URL, the session
was no longer there!

To get around this problem, I did not generate the query string part of the
URL.

Hope this helps,

Landers
"pradeep_TP" <pr*******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi,

I am facing a very strange problem with my web sever which had been running fine until few days back when users started complaining that the session is expiring automatically.

When the users are logged into the web site and actually doing some
activity, they are gettign logged out automatically. I suspect this is a
session timeout problem. I tried to restart IIS server also done a
hard-booting of the server, but the probem still remains.

This is happening sporadically and has not set duration within which the log out is happening. Has anyone has gone through such a situation. It woud be
great if I could get any inputs from the experts.

I am using windows 2000, with IIS 5.0. Web app. is developed in ASP.net and c#
thanks
pradeep_tp

Nov 19 '05 #2

pradeep_TP wrote:
*Hi,

I am facing a very strange problem with my web sever which had been
running
fine until few days back when users started complaining that the
session is
expiring automatically.

When the users are logged into the web site and actually doing some
activity, they are gettign logged out automatically. I suspect this
is a
session timeout problem. I tried to restart IIS server also done a
hard-booting of the server, but the probem still remains.

This is happening sporadically and has not set duration within which
the log
out is happening. Has anyone has gone through such a situation. It
woud be
great if I could get any inputs from the experts.

I am using windows 2000, with IIS 5.0. Web app. is developed in
ASP.net and c#

thanks
pradeep_tp *


Hi,
I also have had this problem. But I hadn't use connection string in the
URL. But we found this link and read it. It's usefull for understanding
session state.
http://msdn.microsoft.com/library/de...ssionstate.asp
We just corrected webgarden parameter in the machine config (or
application's web.config)file. Because if you use in-process session
state mode, it isn't recommended using webgarden.Or you can use state
server mode vs...
I hope, this link usefull for you,too.
Good luck:)
bercinn

--
bercinn
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Feb 8 '06 #3

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

Similar topics

7
2127
by: Jack | last post by:
Hi, In my application, the main page is accessed via a login screen. A particular record is accessed based on the value of login page. Everything works fine. However, if this screen is kept idle...
4
15444
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...
11
2985
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
5
2072
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
17
5176
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
3
3681
by: ABC | last post by:
How to automatic redirect if session timeout using ASP.NET 1.1?
4
9413
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...
25
6032
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
2030
by: =?Utf-8?B?SlA=?= | last post by:
All the sudden my app has started to loose Session values after a Response.Redirect to another page in the same project. Ive read several post about setting the Terminate Boolean to false to solve...
0
7193
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
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6975
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...
0
5562
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,...
1
4992
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...
0
4666
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...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
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.