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

session vars how many is to many ?

Stu
Hi,

I ve read a while ago that you should use session variables
sparingly ?

So the question im asking is how many is to many?
is it server memory dependant and therefore i can just use more ram ?
is there any calculation u can do to determin how much memroy session is
taking up per user ?

Etc

I have a session class which holds about 20 set/get properties which i write
to session

TIA

Stu
Nov 19 '05 #1
5 972
Probably just limited by memory.

"Stu" <St*@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Hi,

I ve read a while ago that you should use session variables
sparingly ?

So the question im asking is how many is to many?
is it server memory dependant and therefore i can just use more ram ?
is there any calculation u can do to determin how much memroy session is
taking up per user ?

Etc

I have a session class which holds about 20 set/get properties which i
write
to session

TIA

Stu

Nov 19 '05 #2
Hi,

Actually there is no count for the max limit of session variable count....
but when the no. grows...the memorey consumed byur app. also grows...

Read more here.... http://www.eggheadcafe.com/articles/20021016.asp

Cheers,

Jerome. M

"Stu" wrote:
Hi,

I ve read a while ago that you should use session variables
sparingly ?

So the question im asking is how many is to many?
is it server memory dependant and therefore i can just use more ram ?
is there any calculation u can do to determin how much memroy session is
taking up per user ?

Etc

I have a session class which holds about 20 set/get properties which i write
to session

TIA

Stu

Nov 19 '05 #3
WJ

"Stu" <St*@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Hi,

I ve read a while ago that you should use session variables
sparingly ?


If stored to disk then it should not matter as long as there is space on
disk.

John
Nov 19 '05 #4

But if session object will grow in size to VERY BIG then performance of your
application decreases. So - test, test and test before publish your
application to production server.

"WJ" <Jo*******@HotMail.Com> wrote in message
news:Om**************@TK2MSFTNGP09.phx.gbl...

"Stu" <St*@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Hi,

I ve read a while ago that you should use session variables
sparingly ?


If stored to disk then it should not matter as long as there is space on
disk.

John

Nov 19 '05 #5
WJ

"gaidar" <ga****@vbstreets.ru> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...

But if session object will grow in size to VERY BIG ....


If session ever reaches this ...magnitude.... Then one should reconsider
design strategy for the application. To me, session is for application/user
experiences or so called "convenience". Such repetitive data as punching in
user Login credential or names... or data that is considered short term are
suitable for session. For performances over port 80, if you have to deliver
100,000 records per request, then the application is not suitable for
interactive web usage.

John
Nov 19 '05 #6

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

Similar topics

0
by: james | last post by:
I am new to php and need some help getting the session variables into include files. (after-thought, Sorry for the drawn out post but I really, really need help....;) Here's what I'm doing.. ...
13
by: Mimi | last post by:
Hello, I am having trouble using the session vars in PHP 4.3.9 OS: Win XP Prof Web Server IIS (is local and there are no links to other servers from the web pages I work on) Browser: IE 6.0 ...
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
1
by: samtran331 | last post by:
Hi all I've got a .Net site that has 3 session variables...the variables should persist over 23 unique insert pages, 23 update, and 23 "view total" pages... And the problem is once I get past one...
2
by: Darren Clark | last post by:
I am having some troubles with Sessin varables dieing.. Basically ihave my own class structure called USER that once the user logs in i save it to a session var called Session = myUserObject; ...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
6
by: JDP | last post by:
First off let me say that http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp would not work as I see it. Right off, I can't have a cookie. ...
5
by: VB Programmer | last post by:
I often use session variables to store the user's security level, and other important info. How secure are session variables? Can someone decrypt it and get the information? (This would be...
13
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i...
1
by: Larry Neylon | last post by:
Hi, I'm working on a VBScript application on IIS6 and I'm looking for some advice about the best way of replacing or improving session variable usage. The application is in a secure extranet...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.