473,811 Members | 3,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP sessions expiring prematurely

I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam
Jul 21 '05 #1
15 1861
Please refer to your earlier question in this newsgroup, and the answers to
it.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #2
http://www.aspfaq.com/2157
http://www.aspfaq.com/5007

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #3
Jazzis,

Are you sure it's after 2-3 minutes or does it seem to expire after going to
another directory?

"Jazzis" wrote:
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #4
Thanks, but unfortunately the faq stuff is not helping - all that I've
checked already.

I need other answers - if there are any.

Adam

"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message news:<#g******* *******@TK2MSFT NGP09.phx.gbl>. ..
http://www.aspfaq.com/2157
http://www.aspfaq.com/5007

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #5
Then you need to provide more details.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
Thanks, but unfortunately the faq stuff is not helping - all that I've
checked already.

I need other answers - if there are any.

Jul 21 '05 #6
Yes I'm sure! Without doing anything (just staying on 1 ASP document
doing refresh) the session expires after 2-3 minutes every time.

Let me repeat - the SAME application works PERFECTLY for years in IIS5
and the problem exists only under IIS6.

Adam

"Erica" <Er***@discussi ons.microsoft.c om> wrote in message news:<4C******* *************** ************@mi crosoft.com>...
Jazzis,

Are you sure it's after 2-3 minutes or does it seem to expire after going to
another directory?

"Jazzis" wrote:
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #7

response.write Session.TimeOut

and "how" do you determine they time out?

Jeff
"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** **@posting.goog le.com...
Yes I'm sure! Without doing anything (just staying on 1 ASP document
doing refresh) the session expires after 2-3 minutes every time.

Let me repeat - the SAME application works PERFECTLY for years in IIS5
and the problem exists only under IIS6.

Adam

"Erica" <Er***@discussi ons.microsoft.c om> wrote in message

news:<4C******* *************** ************@mi crosoft.com>...
Jazzis,

Are you sure it's after 2-3 minutes or does it seem to expire after going to another directory?

"Jazzis" wrote:
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.

In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?

Thanks in advance.

Adam

Jul 21 '05 #8
"Jeff Dillon" <je**@removeeme rgencyreporting .com> wrote in message news:<#m******* *******@TK2MSFT NGP12.phx.gbl>. ..
response.write Session.TimeOut

and "how" do you determine they time out?

Jeff


Well I know the session timed out since the session variables are
lost.

I have written a monitor for sessions and I see all the session
varioables disappear.

The session.timeout is 20 minutes, but IIS seems to ignore that???

Adam
Jul 21 '05 #9
Is anything touching global.asa? Anything else that could be causing an
application restart?

so response.write session.timeout

returns 20?

Jeff

"Jazzis" <ma**@jazzis.co m> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
"Jeff Dillon" <je**@removeeme rgencyreporting .com> wrote in message

news:<#m******* *******@TK2MSFT NGP12.phx.gbl>. ..
response.write Session.TimeOut

and "how" do you determine they time out?

Jeff


Well I know the session timed out since the session variables are
lost.

I have written a monitor for sessions and I see all the session
varioables disappear.

The session.timeout is 20 minutes, but IIS seems to ignore that???

Adam

Jul 21 '05 #10

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

Similar topics

1
2249
by: Forcypal | last post by:
Could somebody please tell me what I am doing wrong. I have spent that past couple of days chasing an intermittent session problem where the session just gets lost and I return to the login screen. ---------------------------------------------------------------------------- ---- PHP Session Code ---------------------------------------------------------------------------- ----
0
1580
by: Gary Petersen | last post by:
I've seen a couple of questions regarding the expiring of sessions in PHP. The way to control how sessions expire is to set some options in php.ini. These options are of particular use: session.gc_probability session.gc_maxlifetime session.cache_expire
1
2825
by: windandwaves | last post by:
Hi Gurus I am basically sorry that I have to bother you about this. I am a PHP beginner and I have been studying sessions and cookies over the last few weeks. I have learned lots, but I am missing the big picture. Is it like this: 1. user comes to site 2. user does something (e.g. a search) that may be useful later => session
13
2356
by: jamie howard | last post by:
Hello there - we have a fairly busy server and we just started to have problems with PHP sessions failing. We've never had this problem before and to be honist, out server traffic is lower than it has been in prior months - so I'm really not sure what could cause this. Could anyone suggest some potentiol avenues to explore for reasons that could cause PHP sessions to fail? Thanks for any suggestions!
2
1425
by: Jazzis | last post by:
After moving my application from W2K / IIS5 to W2K3 / II6 the application works pefrectly BUT the user session expire prematurely (after about 2 mins) rendering the application unusable. Help / suggestions anyone? Yhanx in advance Adam
6
1776
by: Adam | last post by:
On an xp machine, the caching works as expected. I have deployed to a win2k server, and an item I add to the cache expires almost immediately some times and in under a minute in other times. The aspnet_wp process is not restarting during this time, and there are no other requests, so nothing should be clearing this out. I have added a CacheItemRemovedCallback which writes debug info out to a DefaultTraceListener, but no output shows up on...
1
3824
by: Dean Richardson | last post by:
Hello, I am having problems with my PHP sessions timing out. I have a system which requires the user to login. Once they login, it then stores their username as a session variable and is checked in each page. If the username is missing, then it makes the user log back in. However, after 5 or 10 mins of not using the system, the user then clicks on an option and it is prompting them to login.
6
2122
by: Andrew Chung | last post by:
Hi all, For an application that I'm working on, upon successful authentication, Session.Timeout is set to 60 minutes. This behaviour works as expected on my own machine. If I refresh a page after 40 minutes of inactivity, it remains, but after 61 minutes, it expires and I am sent back to the login page. However, once this code is put on the Production server, the sessions time out after only 20 minutes, even though the code sets it to...
21
3017
by: Lee | last post by:
Hi, I have a very specific problem that perhaps some of the smart people here can figure out. I have a site based on PHP with some Java applets on it. The session variables are being destroyed prematurely. We are running Apache2 with PHP 5. On the site, there is a PHP session variable that holds login information. If you go to any page on the site, the session variables remain intact... except the pages with Java applets. Every one...
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10405
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10136
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5556
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
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.