473,397 Members | 1,969 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,397 software developers and data experts.

Session Dies very quickly

Raj
Hi

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm using the InProc mode. But my session is expirng very quickly max 5 mins. There are almost 200 users who will be logging into system everyday. I'm running my application on Win 2000 with IIS 5.0 and its a secure site

Thank
Raj
Nov 18 '05 #1
2 1671
check in the event log to see if asp.net is recycling. with inproc, any
recycle or recompile will lose session state. Virus programs can cause
recycles.

if I had 200 user, I would not use inproc session, unless losing it has low
impact on the site.
-- bruce (sqlwork.com)

"Raj" <an*******@discussions.microsoft.com> wrote in message
news:4D**********************************@microsof t.com...
Hi,

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm using the InProc mode. But my session is expirng very quickly max 5 mins.
There are almost 200 users who will be logging into system everyday. I'm
running my application on Win 2000 with IIS 5.0 and its a secure site.
Thanks
Raj

Nov 18 '05 #2
Web Application in asp.net may restart due to following reason because of
which your session variable might get lost when it is inproc mode.

1. Various attributes (for example, the memoryLimit attribute) have
particular settings in the <processModel> section of the configuration
file.
2. The Global.asax or the Web.config file was modified.
3. The Bin directory of the Web application was modified.
4. Virus scanning software touched some .config files

Check out this support link for more details.
http://support.microsoft.com/default...b;en-us;324772
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Raj" <an*******@discussions.microsoft.com> wrote in message
news:4D**********************************@microsof t.com...
Hi,

Please help me out.

I have specified a Session timeout of 30 mins in my web.config file. I'm using the InProc mode. But my session is expirng very quickly max 5 mins.
There are almost 200 users who will be logging into system everyday. I'm
running my application on Win 2000 with IIS 5.0 and its a secure site.
Thanks
Raj

Nov 18 '05 #3

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

Similar topics

27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
4
by: Dica | last post by:
we've just set up a subdomain, 'demos' for one of our projects that normally works fine. on the login page, if the user enters the correct username/pw, we write session info and then...
9
by: Marcus | last post by:
Hello, Currently all of my php pages use SSL, not just my initial login. Originally I thought this would be more secure, but after thinking about things and looking at sites like Amazon and...
2
by: Raj | last post by:
Hi Please help me out. I have specified a Session timeout of 30 mins in my web.config file. I'm using the InProc mode. But my session is expirng very quickly max 5 mins. There are almost 200...
1
by: Lloyd Taylor | last post by:
Hello, I am creating a web application and I would like to adopt similar session/user management to my online banking system. I was wondering if anyone could give me a few pointers. 1. ...
6
by: Mr m?ll | last post by:
Hi Im quite new to web programming and I'm buildning this ASP .net page. I use VS 2003 and C# + IIS 5. The page consists of a login page that leads to a frame page (with some pages, reading from...
31
by: Harry Simpson | last post by:
I've come from the old ASP camp where session variables were not used. When i started using ASP.NET in 2001, I started using them again because it was ok from what I'd read. I've been merrily...
3
by: bennett | last post by:
In the web.config file for my application, in the <sessionState> section I have set timeout="120" (in minutes), but session state variables in my application seem to be expiring in about 5 minutes....
4
by: Ibrahim. | last post by:
Hi, Kindly clarify the followings; 1. Is the session cookie & FormsAuthenticationTicket cookie Interdependent? 2. When a new SessionID is generated, I have noticed the Session Cookie and...
7
by: David Lozzi | last post by:
Howdy, I'm trying to capture the session end event. I put a spot of code in the Session_End event in the Global.asax.vb file. The function simply writes to a database table logging the event. I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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...
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.