IIS - session variables and performance
Asked By Giles
15-Nov-09 07:54 AM
I have an IIS6 ASP site that has up to 200 "logged in" users at a time.
About 30 session variables are set at each login, containing user
information like their name, preferences etc.
My question is, does having lots of session variables impact site
performance, or is this only a problem when there are millions of concurrent
users, like with Facebook? (i.e. I do not have to worry)
Thanks
ASP.NET
(1)
Serverside
(1)
Consumes
(1)
Cookies
(1)
WCAT
(1)
Bob Barrows replied to Giles
Of course. Each session consumes some memory ...
Can't answer that question. We have no idea what type of data is being
stored (string, numbers, objects ...) or what kind of resources are
available on your web server.
Ar you having performance problems? is that why you asked the question?
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
do not check it very often. If you must reply off-line, then remove the
Giles replied to Bob Barrows
Strings, average 10 characters. Server has 2GB of RAM, 2 x 2GHz
processors.No performance problems yet, but the site is up for redesign, and
I am wondering if I can increase the use of session variables, or if I
should use client side cookies to maintain state between pages. I guess I am
asking whether session variables use just RAM (which I can calculate by
multiplying), or if they are a significant drain on the processor also? i.e.
what is best practice?
Bob Barrows replied to Giles
All you can do is test. I have never seen any sort of "best practice" for
this.
Microsoft has a stress-testing tool that might prove useful to you. See:
http://mvolo.com/blogs/serverside/archive/2007/05/17/WCAT-6.3-web-performance-and-scalability-test-tool-released.aspx
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
do not check it very often. If you must reply off-line, then remove the
Doubt ASP.net vs classic ASP IIS Hi. . . I have tryed my best to understand the asp.net, but the visual of asp.net pages are the most complicated, because on asp we have total control over the layout the page, on the asp.net for example we have a lot of components, like tables wich already have paging, etc
how to tell which version of asp.net is in use? IIS server 2003. I added IIS and specifically selected asp.net. I realize this version is 1.1. However, before doing this I had already installed windows update. looking in IIS manager I see by using add / remove programs to add asp.net that the asp.net v1.1 web extension was enabled. Also in IIS manager on the asp.net tab
IIS 5 ASP.NET 1.1 / 2.0 IIS Is it possibly for asp.net 1.1 apps and asp.net 2.0 apps to run on a win2k server with iis 5.0? asp.net 2.0 is loaded and available in the dropdown on the website's property page
IIS-ASP.NET problem IIS I am hosting my own Asp.net website and its working fine and is on the internet. However my company website gives me an error saying that I cannot run two versions of asp.net it is not on the internet.Eventviewer tells me that I cannot run two versions of Asp.net, how ever I have no choice because Asp.net 1.4 is grayed out on