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

Another ASP Session problem with IIS6, somebody must have a definative answer!

I'm having all sorts of problems with Sessions, I've been using them for
years with out a hitch, all of a sudden the last 6 - 12 months since getting
our new Win2003 server it's all gone shakey!!!

Our development server started life as an NT4 machine and has been simply
upgraded from one operating system to the next, it is now a cross, NT4
Server, Win2000 Server, Win2003 server. All development sites work fine and
under heavy stress. The machine only has 256 Mb RAM with PII processor,
great for stress testing scripts. Our new server is a fresh install P4
Win2003 server with IIS6, I'm getting all sorts of session problems, And
across multiple sites.

Anyone have any ideas, I've switched the server into IIS5 compatibility mode
so it's not that.

Bearing in mind our mismatched server works fine locally, with no
configuration changes since it was first installed with IIS4, or was it 3?
might even have been IIS2! can't remeber...

I think Session recycling is taking place but can't find any evidence of it

Regards Adam

--
Phuture-UK +44 (01202) 518122
Jul 22 '05 #1
7 2289
what are these session problems?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:e4*************@tk2msftngp13.phx.gbl...
I'm having all sorts of problems with Sessions, I've been using them for
years with out a hitch, all of a sudden the last 6 - 12 months since
getting our new Win2003 server it's all gone shakey!!!

Our development server started life as an NT4 machine and has been simply
upgraded from one operating system to the next, it is now a cross, NT4
Server, Win2000 Server, Win2003 server. All development sites work fine
and under heavy stress. The machine only has 256 Mb RAM with PII
processor, great for stress testing scripts. Our new server is a fresh
install P4 Win2003 server with IIS6, I'm getting all sorts of session
problems, And across multiple sites.

Anyone have any ideas, I've switched the server into IIS5 compatibility
mode so it's not that.

Bearing in mind our mismatched server works fine locally, with no
configuration changes since it was first installed with IIS4, or was it 3?
might even have been IIS2! can't remeber...

I think Session recycling is taking place but can't find any evidence of
it

Regards Adam

--
Phuture-UK +44 (01202) 518122

Jul 22 '05 #2
Quite simply the server works fine from reboot, after about a week site
visitors start to complain about lost sessions, they log into the admin
pages fine look at a couple of pages then the system just drops the
sessions, I'm thinking either Session or Application recycling maybe? The
users then log in again only to be immediately kicked out etc...

I've ready 101 other instances of this problem, I have never had problems
like this from Session variables before and I've been using them for years.

It must be either an IIS or MS problem, probably a hot-fix!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oh*************@TK2MSFTNGP15.phx.gbl...
what are these session problems?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:e4*************@tk2msftngp13.phx.gbl...
I'm having all sorts of problems with Sessions, I've been using them for
years with out a hitch, all of a sudden the last 6 - 12 months since
getting our new Win2003 server it's all gone shakey!!!

Our development server started life as an NT4 machine and has been simply
upgraded from one operating system to the next, it is now a cross, NT4
Server, Win2000 Server, Win2003 server. All development sites work fine
and under heavy stress. The machine only has 256 Mb RAM with PII
processor, great for stress testing scripts. Our new server is a fresh
install P4 Win2003 server with IIS6, I'm getting all sorts of session
problems, And across multiple sites.

Anyone have any ideas, I've switched the server into IIS5 compatibility
mode so it's not that.

Bearing in mind our mismatched server works fine locally, with no
configuration changes since it was first installed with IIS4, or was it
3? might even have been IIS2! can't remeber...

I think Session recycling is taking place but can't find any evidence of
it

Regards Adam

--
Phuture-UK +44 (01202) 518122


Jul 22 '05 #3
Its very likely the App Pool recycling. How much memory is in that machine?
What is the settings for memory set to in the App Pool?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
Quite simply the server works fine from reboot, after about a week site
visitors start to complain about lost sessions, they log into the admin
pages fine look at a couple of pages then the system just drops the
sessions, I'm thinking either Session or Application recycling maybe? The
users then log in again only to be immediately kicked out etc...

I've ready 101 other instances of this problem, I have never had problems
like this from Session variables before and I've been using them for
years.

It must be either an IIS or MS problem, probably a hot-fix!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oh*************@TK2MSFTNGP15.phx.gbl...
what are these session problems?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:e4*************@tk2msftngp13.phx.gbl...
I'm having all sorts of problems with Sessions, I've been using them
for years with out a hitch, all of a sudden the last 6 - 12 months since
getting our new Win2003 server it's all gone shakey!!!

Our development server started life as an NT4 machine and has been
simply upgraded from one operating system to the next, it is now a
cross, NT4 Server, Win2000 Server, Win2003 server. All development
sites work fine and under heavy stress. The machine only has 256 Mb RAM
with PII processor, great for stress testing scripts. Our new server is
a fresh install P4 Win2003 server with IIS6, I'm getting all sorts of
session problems, And across multiple sites.

Anyone have any ideas, I've switched the server into IIS5 compatibility
mode so it's not that.

Bearing in mind our mismatched server works fine locally, with no
configuration changes since it was first installed with IIS4, or was it
3? might even have been IIS2! can't remeber...

I think Session recycling is taking place but can't find any evidence of
it

Regards Adam

--
Phuture-UK +44 (01202) 518122



Jul 22 '05 #4
It's got 256 Mb

Pool Size 1
Lifetime Limit 0
Memory Limit 0
Expiration Timeout 15
Call Limit 0
Activation Limit 0
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:u2*************@TK2MSFTNGP15.phx.gbl...
Its very likely the App Pool recycling. How much memory is in that
machine? What is the settings for memory set to in the App Pool?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
Quite simply the server works fine from reboot, after about a week site
visitors start to complain about lost sessions, they log into the admin
pages fine look at a couple of pages then the system just drops the
sessions, I'm thinking either Session or Application recycling maybe?
The users then log in again only to be immediately kicked out etc...

I've ready 101 other instances of this problem, I have never had
problems like this from Session variables before and I've been using them
for years.

It must be either an IIS or MS problem, probably a hot-fix!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oh*************@TK2MSFTNGP15.phx.gbl...
what are these session problems?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:e4*************@tk2msftngp13.phx.gbl...
I'm having all sorts of problems with Sessions, I've been using them
for years with out a hitch, all of a sudden the last 6 - 12 months
since getting our new Win2003 server it's all gone shakey!!!

Our development server started life as an NT4 machine and has been
simply upgraded from one operating system to the next, it is now a
cross, NT4 Server, Win2000 Server, Win2003 server. All development
sites work fine and under heavy stress. The machine only has 256 Mb
RAM with PII processor, great for stress testing scripts. Our new
server is a fresh install P4 Win2003 server with IIS6, I'm getting all
sorts of session problems, And across multiple sites.

Anyone have any ideas, I've switched the server into IIS5 compatibility
mode so it's not that.

Bearing in mind our mismatched server works fine locally, with no
configuration changes since it was first installed with IIS4, or was it
3? might even have been IIS2! can't remeber...

I think Session recycling is taking place but can't find any evidence
of it

Regards Adam

--
Phuture-UK +44 (01202) 518122



Jul 22 '05 #5
get more

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
It's got 256 Mb

Pool Size 1
Lifetime Limit 0
Memory Limit 0
Expiration Timeout 15
Call Limit 0
Activation Limit 0
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:u2*************@TK2MSFTNGP15.phx.gbl...
Its very likely the App Pool recycling. How much memory is in that
machine? What is the settings for memory set to in the App Pool?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
Quite simply the server works fine from reboot, after about a week site
visitors start to complain about lost sessions, they log into the admin
pages fine look at a couple of pages then the system just drops the
sessions, I'm thinking either Session or Application recycling maybe?
The users then log in again only to be immediately kicked out etc...

I've ready 101 other instances of this problem, I have never had
problems like this from Session variables before and I've been using
them for years.

It must be either an IIS or MS problem, probably a hot-fix!

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oh*************@TK2MSFTNGP15.phx.gbl...
what are these session problems?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Adam Short" <ad**@phuture-uk.net> wrote in message
news:e4*************@tk2msftngp13.phx.gbl...
> I'm having all sorts of problems with Sessions, I've been using them
> for years with out a hitch, all of a sudden the last 6 - 12 months
> since getting our new Win2003 server it's all gone shakey!!!
>
> Our development server started life as an NT4 machine and has been
> simply upgraded from one operating system to the next, it is now a
> cross, NT4 Server, Win2000 Server, Win2003 server. All development
> sites work fine and under heavy stress. The machine only has 256 Mb
> RAM with PII processor, great for stress testing scripts. Our new
> server is a fresh install P4 Win2003 server with IIS6, I'm getting all
> sorts of session problems, And across multiple sites.
>
> Anyone have any ideas, I've switched the server into IIS5
> compatibility mode so it's not that.
>
> Bearing in mind our mismatched server works fine locally, with no
> configuration changes since it was first installed with IIS4, or was
> it 3? might even have been IIS2! can't remeber...
>
> I think Session recycling is taking place but can't find any evidence
> of it
>
> Regards Adam
>
>
>
> --
> Phuture-UK +44 (01202) 518122
>



Jul 22 '05 #6

I'm having the same problem with session variables, i have a
web application that uses iis and it used to work find but when we moved
to windows 2003 with iis 6 the system used to hang, and i found out that
the problem was using session variables to pass values between asp's,
and iis 6 dose not support that, so we are trying to replace session
variables with cookies.
*** Sent via Developersdex http://www.developersdex.com ***
Jul 22 '05 #7
Session variables do work with IIS6 if there is only one process allowed in
the application pool that the application is assigned to (session vars
cannot pass process boundaries).

check the IIS configuration to make sure that session state is enabled and
make sure that there is only one worker process assigned the to application
pool.

If you need multiple worker processes (a "web garden") then you will have to
"roll your own" session management system using cookies, hidden form fields,
or a database. For general purpose session variables I would lean toward the
database approach using a single cookie to contain an identifier and keeping
the session data in a database table.

--
Mark Schupp

"Jihad Bisha" <ji***@cats.com.jo> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...

I'm having the same problem with session variables, i have a
web application that uses iis and it used to work find but when we moved
to windows 2003 with iis 6 the system used to hang, and i found out that
the problem was using session variables to pass values between asp's,
and iis 6 dose not support that, so we are trying to replace session
variables with cookies.
*** Sent via Developersdex http://www.developersdex.com ***

Jul 22 '05 #8

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

Similar topics

8
by: P. Glassel | last post by:
I'm having problems getting session timeouts to change programmaticlaly under IIS6.0. This is unchanged code that ran as expected under IIS5.0. Anyone else run into this problem? Thx.
9
by: grw | last post by:
Im trying to find why my hosted server won't maintain session state. Its not a web farm (not load balanced), its all the same server An application requires a session to be set and then recalled...
2
by: Ted Bogucki | last post by:
I have an asp application running on both iis5 and iis6. (not .net) The server ruhnning IIS5 has no problem running my application. IIS6 randomly times out WEB users. The session timeout...
10
by: Jacob Anderson | last post by:
Hello, I have a web application running in two configurations: 1. On my local machine running in debug and release mode 2. On a shared, hosted, machine in release mode On my local machine,...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
1
by: Jacob Arthur | last post by:
We are using Forms authentication in a webapp (ASP.net 1.1 VB, IIS6 on W2003) we created to maintain information on the currently logged-in user and their capabilities. After logging in, the user...
7
by: Erik | last post by:
I have an application that uses sessions variables a lot but one I publish the application on the prod server these variables are lost. The application is written i c# 2.0 and I've set the...
17
by: Rabbit | last post by:
Hi, On my 1st page, i have a function which gets a new ID value and need to transfer to another immediately. which I want to get in 2nd page using Request.form("txtID"), but doesn't work, the...
1
by: eraimondi | last post by:
Hi guys. This is my problem. I have got an application asp on iis6. In some pages I use Session Variables and when I explore them with Mozilla there is not any problem;but if I use Internet...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.