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

Impact of enabling Sessions on IIS 5.0

We are running our website on 3 W2K servers using classic ASP and IIS 5.0.
Because the servers are load balanced we don't use the ASP Session object
instead we store session type information to the database. Since we don't
use them, we do not enable Sessions in IIS

We recently purchased a 3rd party application that stores some security
information into the Session object. Since the the package is storing and
retrieving from the session in the same request, I don't believe that I have
to worry about the session information being lost if all of a user's requests
are not to the same server. I have tried changing the code to use the
database session that we have and haven't had much luck getting it to work.
So, I am considering just enabling sessions and setting the session timeout
to one minute.

Here's my question? What kind of impact will enabling sessions have on
performance? I'm sure that additional memory will be used but is there any
way to estimate how much. I'm also sure it will slow things down a little,
but am I talking 1 millisecond per request or something bigger.

Any guidance will be greatly appreciated.

Thanks,

Evan Nelson
Sep 14 '06 #1
1 1952
Enabling session state will require minimal memory... basically the size of
the sessionID string and the writing to/form the cookie on the client. The
only overhead you are going to notice is when you actually USE the session
to store/retrieve data. Most of us are using sessions, AFAIK, and for the
most part, it is not crippling our apps anywhere near the point of
researching other ways to mimic sessions.

Of course, the only way to know is, TRY IT. We have no idea how your app
works, how (in)efficient your third party app is at utilizing session, how
many concurrent users you will have, and about 8,000 other variables that
are necessary to answer your question authoritatively.

A

"Evan Nelson" <Ev********@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.com...
We are running our website on 3 W2K servers using classic ASP and IIS 5.0.
Because the servers are load balanced we don't use the ASP Session object
instead we store session type information to the database. Since we don't
use them, we do not enable Sessions in IIS

We recently purchased a 3rd party application that stores some security
information into the Session object. Since the the package is storing and
retrieving from the session in the same request, I don't believe that I
have
to worry about the session information being lost if all of a user's
requests
are not to the same server. I have tried changing the code to use the
database session that we have and haven't had much luck getting it to
work.
So, I am considering just enabling sessions and setting the session
timeout
to one minute.

Here's my question? What kind of impact will enabling sessions have on
performance? I'm sure that additional memory will be used but is there
any
way to estimate how much. I'm also sure it will slow things down a
little,
but am I talking 1 millisecond per request or something bigger.

Any guidance will be greatly appreciated.

Thanks,

Evan Nelson

Sep 14 '06 #2

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

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
3
by: Will Woodhull | last post by:
Hi, I'm new here-- I've been reading the group for a couple of days. Nice group; I like the way n00b33 questions are handled. I've been using a Javascript routine in index.html to determine a...
2
by: Steve Franks | last post by:
According to the docs you tell ASP.NET to use cookieless sessions by setting a value in the config.web file. However, what if I wanted to determine at run time whether or not I wanted to use...
12
by: D. Shane Fowlkes | last post by:
This is a repost (pasted below). Since my original post, I've double checked the system clock and set all IIS Session Timeout values to 10 minutes. Still ...the problem occurs. I've also...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
5
by: lister | last post by:
Hi all, I have a fairly diverse range of data that I want to cache in the session rather than pulling it from the database on every page refresh. The problem is is that it seems that PHP...
13
Frinavale
by: Frinavale | last post by:
One of the most fundamental topics in web design is understanding how to pass information collected on one web page to another web page. There are many different ways you could do this: Cookies,...
3
Atli
by: Atli | last post by:
Introduction: Sessions are one of the simplest and more powerful tools in a web developers arsenal. This tool is invaluable in dynamic web page development and it is one of those things every...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
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...

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.